summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2014-01-13 00:11:53 (GMT)
committer Bastien Guerry <bzg@altern.org>2014-01-13 00:11:53 (GMT)
commit6ea3dee45d4c5cd4c52849b5236317f6012536f9 (patch)
tree25d026ad8a48ba474d26249f588261013e8df957
parente3b64b93e0a1bf5ce41e683b1e12215413623b2c (diff)
downloadorg-mode-6ea3dee45d4c5cd4c52849b5236317f6012536f9.zip
org-mode-6ea3dee45d4c5cd4c52849b5236317f6012536f9.tar.gz
org.el (org-edit-special): Use `find-file-other-window'
* org.el (org-edit-special): Use `find-file-other-window' when visiting included files.
-rw-r--r--lisp/org.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el
index 31ce31a..3267e7c 100644
--- a/lisp/org.el
+++ b/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")))