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:
parent
427327a94e
commit
08bad014c7
@ -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)))))))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user