mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2025-01-05 11:45:52 +00:00
ox-latex: tiny refactoring.
* lisp/ox-latex.el (org-latex--insert-compiler): Refactor.
This commit is contained in:
parent
9bbd9e5ae2
commit
79dab621f9
@ -1610,7 +1610,7 @@ INFO is a plist used as a communication channel."
|
||||
INFO is a plist used as a communication channel."
|
||||
(let ((compiler (plist-get info :latex-compiler)))
|
||||
(and (org-string-nw-p org-latex-compiler-file-string)
|
||||
(string-match-p (regexp-opt org-latex-compilers) (or compiler ""))
|
||||
(member (or compiler "") org-latex-compilers)
|
||||
(format org-latex-compiler-file-string compiler))))
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user