Explorar o código

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 %!s(int64=11) %!d(string=hai) anos
pai
achega
6ea3dee45d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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")))