org-latex.el: Fix bug in setting the export directory according to the LaTeX options.
* org-latex.el (org-export-as-latex): Fix bug in setting the export directory according to the LaTeX options. Thanks to A. Major for reporting this and to Christian Moe for suggesting a fix.
This commit is contained in:
parent
5bb4aabac7
commit
88d6292893
|
@ -855,7 +855,7 @@ when PUB-DIR is set, use this as the publishing directory."
|
|||
(concat
|
||||
(file-name-as-directory
|
||||
(or pub-dir
|
||||
(org-export-directory :LaTeX ext-plist)))
|
||||
(org-export-directory :LaTeX org-export-latex-options-plist)))
|
||||
(file-name-sans-extension
|
||||
(or (and subtree-p
|
||||
(org-entry-get rbeg "EXPORT_FILE_NAME" t))
|
||||
|
|
Loading…
Reference in New Issue