Browse Source

org-e-odt.el: Fix earlier commit

Handle the case when latex fragment/environment fails to yield an
image or formula file.
Jambunathan K 12 years ago
parent
commit
dd44a62c7e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      contrib/lisp/org-e-odt.el

+ 1 - 1
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