1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-12-12 09:28:11 +00:00

EXPERIMENTAL/org-e-latex.el (org-e-latex-collect-errors): Small fix

This commit is contained in:
Nicolas Goaziou 2012-01-05 22:29:16 +01:00
parent 427327a94e
commit 08bad014c7

View File

@ -1987,10 +1987,10 @@ none."
(re-search-forward "Undefined control sequence" nil t))
(setq errors (concat errors " [undefined control sequence]")))
(when (save-excursion
(re-search-forward "^! LaTeX.*?Error"))
(re-search-forward "^! LaTeX.*?Error" nil t))
(setq errors (concat errors " [LaTeX error]")))
(when (save-excursion
(re-search-forward "^! Package.*?Error"))
(re-search-forward "^! Package.*?Error" nil t))
(setq errors (concat errors " [package error]")))
(and (org-string-nw-p errors) (org-trim errors)))))))