aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/tex-mode.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el
index c4380c59d9b..73075ce0598 100644
--- a/lisp/textmodes/tex-mode.el
+++ b/lisp/textmodes/tex-mode.el
@@ -2016,7 +2016,8 @@ for the error messages."
2016 (goto-char compilation-parsing-end) 2016 (goto-char compilation-parsing-end)
2017 ;; Parse messages. 2017 ;; Parse messages.
2018 (while (and (not (or found-desired (eobp))) 2018 (while (and (not (or found-desired (eobp)))
2019 (prog1 (re-search-forward "^! " nil 'move) 2019 (prog1 (re-search-forward
2020 "^\\(?:[^:\n]+:[[:digit:]]+:\\|!\\) " nil 'move)
2020 (setq begin-of-error (match-beginning 0) 2021 (setq begin-of-error (match-beginning 0)
2021 end-of-error (match-end 0))) 2022 end-of-error (match-end 0)))
2022 (re-search-forward 2023 (re-search-forward