ox-latex: Fix asynchronous export
* lisp/ox-latex.el (org-latex-export-to-pdf): Fix "invalid-read-syntax '#'" when exporting asynchronously with ox-latex. See also previous bug report: https://lists.gnu.org/archive/html/emacs-orgmode/2021-06/msg00422.html
This commit is contained in:
parent
36086a4f49
commit
c91271297d
|
@ -3706,7 +3706,7 @@ Return PDF file's name."
|
|||
(let ((outfile (org-export-output-file-name ".tex" subtreep)))
|
||||
(org-export-to-file 'latex outfile
|
||||
async subtreep visible-only body-only ext-plist
|
||||
(lambda (file) (org-latex-compile file)))))
|
||||
#'org-latex-compile)))
|
||||
|
||||
(defun org-latex-compile (texfile &optional snippet)
|
||||
"Compile a TeX file.
|
||||
|
|
Loading…
Reference in New Issue