diff options
author | Jambunathan K <kjambunathan@gmail.com> | 2012-09-14 02:39:54 +0530 |
---|---|---|
committer | Jambunathan K <kjambunathan@gmail.com> | 2012-09-14 02:42:17 +0530 |
commit | dd44a62c7eb77e624705ae9954e7553391a42585 (patch) | |
tree | e8f0f67d66a228d4c75c48005ec132a6924f97a5 | |
parent | 3501be303eba9c6613ae4351027479f945d3fe2b (diff) | |
download | org-mode-dd44a62c7eb77e624705ae9954e7553391a42585.tar.gz |
org-e-odt.el: Fix earlier commit
Handle the case when latex fragment/environment fails to yield an
image or formula file.
-rw-r--r-- | contrib/lisp/org-e-odt.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/lisp/org-e-odt.el b/contrib/lisp/org-e-odt.el index 2b4f6a2..503d6eb 100644 --- a/contrib/lisp/org-e-odt.el +++ b/contrib/lisp/org-e-odt.el @@ -3469,7 +3469,7 @@ contextual information." (buffer-substring-no-properties (point-min) (point-max))))) (if (not (string-match "file:\\([^]]*\\)" link)) - (message "LaTeX Conversion failed.") + (prog1 nil (message "LaTeX Conversion failed.")) link)))) (when org-link ;; Conversion succeeded. Parse above Org-style link to a |