emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/org d0c87c762a 11/14: ox-latex: Do not hardcode fallbac


From: ELPA Syncer
Subject: [elpa] externals/org d0c87c762a 11/14: ox-latex: Do not hardcode fallback compiler
Date: Sun, 22 Jan 2023 10:58:11 -0500 (EST)

branch: externals/org
commit d0c87c762aa35f9abec79d8e0fea325a8c0608d0
Author: TEC <git@tecosaur.net>
Commit: Ihor Radchenko <yantar92@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'



reply via email to

[Prev in Thread] Current Thread [Next in Thread]