summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus <rasmus@gmx.us>2015-04-23 11:16:29 +0200
committerRasmus <rasmus@gmx.us>2015-04-23 12:39:52 +0200
commit2bdc661fde75ed226b19c802ecd31ce12d2ec7e1 (patch)
treef627cb3497b6b5f8fc5e192be34dcec9ee5c5e0b
parentce4e647c213e6884a3a00fcde4c949c7295cdef0 (diff)
downloadorg-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-xlisp/org.el6
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)))))