aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorGlenn Morris2007-09-17 07:01:41 +0000
committerGlenn Morris2007-09-17 07:01:41 +0000
commitaf751646bdd75378f4e62d549321e9a8080d018c (patch)
treebca1dda8ecd8dcab9235b94f841f7da630408864 /lisp/textmodes
parent650015841052f05ea3cfbd47d9a618ba83da96ff (diff)
downloademacs-af751646bdd75378f4e62d549321e9a8080d018c.tar.gz
emacs-af751646bdd75378f4e62d549321e9a8080d018c.zip
Joe Wells <jbw at macs.hw.ac.uk> (tiny change)
(tex-compilation-parse-errors): Also match TeX `--file-line-error' format.
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