瀏覽代碼

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 11 年之前
父節點
當前提交
6ea3dee45d
共有 1 個文件被更改,包括 1 次插入1 次删除
  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")))