瀏覽代碼

ox-odt: Small fix

* lisp/ox-odt.el (org-odt--translate-latex-fragments): Fix bug
  introduced in cebdec663d63d6971c20cb99e5502e646ee12187.
Nicolas Goaziou 10 年之前
父節點
當前提交
ce7b3fc74b
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      lisp/ox-odt.el

+ 2 - 1
lisp/ox-odt.el

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