Browse Source

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.
Ihor Radchenko 2 years ago
parent
commit
2cb4f46fec
1 changed files with 3 additions and 0 deletions
  1. 3 0
      lisp/ox-latex.el

+ 3 - 0
lisp/ox-latex.el

@@ -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