org-latex-compile: Add commentary on fallback compiler command

* lisp/ox-latex.el (org-latex-compile): Clarify when "pdflatex"
constant is used as a fallback.
This commit is contained in:
Ihor Radchenko 2022-05-22 11:43:38 +08:00
parent e268e47971
commit 2cb4f46fec
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 3 additions and 0 deletions

View File

@ -4178,6 +4178,9 @@ produced."
t)
(progn (beginning-of-line) (looking-at-p "%"))
(match-string 0)))
;; Cannot find the compiler inserted by
;; `org-latex-template' -> `org-latex--insert-compiler'.
;; Use a fallback.
"pdflatex"))
(process (if (functionp org-latex-pdf-process) org-latex-pdf-process
;; Replace "%latex" with "%L" and "%bib" and