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
This commit is contained in:
Carsten Dominik 2011-04-22 11:23:18 +02:00
parent a20eebd73f
commit e7217a74e9
1 changed files with 2 additions and 2 deletions

View File

@ -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))