EXPERIMENTAL/org-e-latex.el (org-e-latex-collect-errors): Small fix
This commit is contained in:
parent
427327a94e
commit
08bad014c7
|
@ -1987,10 +1987,10 @@ none."
|
||||||
(re-search-forward "Undefined control sequence" nil t))
|
(re-search-forward "Undefined control sequence" nil t))
|
||||||
(setq errors (concat errors " [undefined control sequence]")))
|
(setq errors (concat errors " [undefined control sequence]")))
|
||||||
(when (save-excursion
|
(when (save-excursion
|
||||||
(re-search-forward "^! LaTeX.*?Error"))
|
(re-search-forward "^! LaTeX.*?Error" nil t))
|
||||||
(setq errors (concat errors " [LaTeX error]")))
|
(setq errors (concat errors " [LaTeX error]")))
|
||||||
(when (save-excursion
|
(when (save-excursion
|
||||||
(re-search-forward "^! Package.*?Error"))
|
(re-search-forward "^! Package.*?Error" nil t))
|
||||||
(setq errors (concat errors " [package error]")))
|
(setq errors (concat errors " [package error]")))
|
||||||
(and (org-string-nw-p errors) (org-trim errors)))))))
|
(and (org-string-nw-p errors) (org-trim errors)))))))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue