org-e-odt.el: Fix earlier commit
Handle the case when latex fragment/environment fails to yield an image or formula file.
This commit is contained in:
parent
3501be303e
commit
dd44a62c7e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue