branch: externals/org commit d0c87c762aa35f9abec79d8e0fea325a8c0608d0 Author: TEC <g...@tecosaur.net> Commit: Ihor Radchenko <yanta...@posteo.net>
ox-latex: Do not hardcode fallback compiler * lisp/ox-latex.el (org-latex-compile): Instead of hardcoding "pdflatex" as the fallback compiler, use `org-latex-compiler'. --- lisp/ox-latex.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el index 110390cf3c..330007eba9 100644 --- a/lisp/ox-latex.el +++ b/lisp/ox-latex.el @@ -4283,7 +4283,7 @@ produced." ;; Cannot find the compiler inserted by ;; `org-latex-template' -> `org-latex--insert-compiler'. ;; Use a fallback. - "pdflatex")) + org-latex-compiler)) (process (if (functionp org-latex-pdf-process) org-latex-pdf-process ;; Replace "%latex" with "%L" and "%bib" and ;; "%bibtex" with "%B" to adhere to `format-spec'