From e7217a74e9071d2de9417626cdc27aac80614ef0 Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Fri, 22 Apr 2011 11:23:18 +0200 Subject: [PATCH] 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 --- lisp/org-exp.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/org-exp.el b/lisp/org-exp.el index 606cbb05e..8eb814935 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))