ox-odt: Small fix

* lisp/ox-odt.el (org-odt--translate-latex-fragments): Fix bug
  introduced in cebdec663d.
This commit is contained in:
Nicolas Goaziou 2015-02-26 15:45:24 +01:00
parent cebdec663d
commit ce7b3fc74b
1 changed files with 2 additions and 1 deletions

View File

@ -3813,7 +3813,8 @@ contextual information."
(buffer-substring-no-properties (buffer-substring-no-properties
(point-min) (point-max))))) (point-min) (point-max)))))
(if (org-string-match-p "file:\\([^]]*\\)" link) link (if (org-string-match-p "file:\\([^]]*\\)" link) link
(message "LaTeX Conversion failed."))))) (message "LaTeX Conversion failed.")
nil))))
(when org-link (when org-link
;; Conversion succeeded. Parse above Org-style link to ;; Conversion succeeded. Parse above Org-style link to
;; a `link' object. ;; a `link' object.