diff options
author | Rasmus <rasmus@gmx.us> | 2015-04-23 11:16:29 +0200 |
---|---|---|
committer | Rasmus <rasmus@gmx.us> | 2015-04-23 12:39:52 +0200 |
commit | 2bdc661fde75ed226b19c802ecd31ce12d2ec7e1 (patch) | |
tree | f627cb3497b6b5f8fc5e192be34dcec9ee5c5e0b | |
parent | ce4e647c213e6884a3a00fcde4c949c7295cdef0 (diff) | |
download | org-mode-2bdc661fde75ed226b19c802ecd31ce12d2ec7e1.tar.gz |
org.el: Handle nil org-latex-to-mathml-jar-file
* org.el (org-create-math-formula): Handle nil
org-latex-to-mathml-jar-file.
-rwxr-xr-x | lisp/org.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/org.el b/lisp/org.el index 7165c9f..4856ba4 100755 --- a/lisp/org.el +++ b/lisp/org.el @@ -19119,8 +19119,10 @@ inspection." (make-temp-name (expand-file-name "ltxmathml-out")))) (cmd (format-spec org-latex-to-mathml-convert-command - `((?j . ,(shell-quote-argument - (expand-file-name org-latex-to-mathml-jar-file))) + `((?j . ,(and org-latex-to-mathml-jar-file + (shell-quote-argument + (expand-file-name + org-latex-to-mathml-jar-file)))) (?I . ,(shell-quote-argument tmp-in-file)) (?i . ,latex-frag) (?o . ,(shell-quote-argument tmp-out-file))))) |