Browse Source

ox-latex: tiny refactoring.

* lisp/ox-latex.el (org-latex--insert-compiler): Refactor.
Aaron Ecay 8 years ago
parent
commit
79dab621f9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/ox-latex.el

+ 1 - 1
lisp/ox-latex.el

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