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

* org.el (org-edit-special): Use `find-file-other-window' when
visiting included files.
This commit is contained in:
Bastien Guerry 2014-01-13 01:11:53 +01:00
parent e3b64b93e0
commit 6ea3dee45d
1 changed files with 1 additions and 1 deletions

View File

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