summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Dominik <carsten.dominik@gmail.com>2011-04-22 11:23:18 +0200
committerCarsten Dominik <carsten.dominik@gmail.com>2011-04-22 11:23:18 +0200
commite7217a74e9071d2de9417626cdc27aac80614ef0 (patch)
treeab42d1c3af6af736efadf70166ca1affbbd2476a
parenta20eebd73f0c44dfa133ff66de1b2507e9bb0bd9 (diff)
downloadorg-mode-e7217a74e9071d2de9417626cdc27aac80614ef0.tar.gz
Export: Add EXPORT_FILE_NAME to the enclosing tree properties
* lisp/org-exp.el (org-export): Add EXPORT_FILE_NAME to the enclosing tree properties
-rw-r--r--lisp/org-exp.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/org-exp.el b/lisp/org-exp.el
index 606cbb0..8eb8149 100644
--- a/lisp/org-exp.el
+++ b/lisp/org-exp.el
@@ -998,7 +998,7 @@ Pressing `1' will switch between these two options."
(end (save-excursion (while (org-up-heading-safe)) (point))))
(outline-next-heading)
(if (re-search-backward
- "^[ \t]+\\(:latex_class:\\|:export_title:\\)[ \t]+\\S-"
+ "^[ \t]+\\(:latex_class:\\|:export_title:\\|:export_file_name:\\)[ \t]+\\S-"
end t)
(progn
(org-back-to-heading t)
@@ -1006,7 +1006,7 @@ Pressing `1' will switch between these two options."
(setq bpos (point))
(message "Select command (for subtree): ")
(setq r1 (read-char-exclusive)))
- (error "No enclosing node with LaTeX_CLASS or EXPORT_FILE_NAME")
+ (error "No enclosing node with LaTeX_CLASS or EXPORT_TITLE or EXPORT_FILE_NAME")
)))))
(redisplay)
(and bpos (goto-char bpos))