Browse Source

Allow special editing of SETUPFILE keywords again

* lisp/org.el (org-edit-special): Fix regression.
Nicolas Goaziou 12 years ago
parent
commit
780b453227
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/org.el

+ 1 - 1
lisp/org.el

@@ -19472,7 +19472,7 @@ Otherwise, return a user error."
              (funcall (intern (concat "org-babel-prep-session:" lang))
                       session params)))))
       (keyword
-       (if (equal (org-element-property :key element) "INCLUDE")
+       (if (member (org-element-property :key element) '("INCLUDE" "SETUPFILE"))
            (find-file
             (org-remove-double-quotes
              (car (org-split-string (org-element-property :value element)))))