Browse Source

org.el (org-edit-special): Use `find-file-other-window'

* org.el (org-edit-special): Use `find-file-other-window' when
visiting included files.
Bastien Guerry 4 years ago
parent
commit
6ea3dee45d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/org.el

+ 1 - 1
lisp/org.el

@@ -20249,7 +20249,7 @@ Otherwise, return a user error."
 		       session params))))))
       (keyword
        (if (member (org-element-property :key element) '("INCLUDE" "SETUPFILE"))
-           (find-file
+           (find-file-other-window
             (org-remove-double-quotes
              (car (org-split-string (org-element-property :value element)))))
          (user-error "No special environment to edit here")))