mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-25 10:02:52 +00:00
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:
parent
a20eebd73f
commit
e7217a74e9
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue