Mercurial > emacs
changeset 84617:bb15bcc10f4b
Joe Wells <jbw at macs.hw.ac.uk> (tiny change)
(tex-compilation-parse-errors): Also match TeX `--file-line-error'
format.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Mon, 17 Sep 2007 06:58:39 +0000 |
parents | b3e66fa9fc66 |
children | 2c670ccfe339 |
files | lisp/textmodes/tex-mode.el |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/textmodes/tex-mode.el Mon Sep 17 06:54:23 2007 +0000 +++ b/lisp/textmodes/tex-mode.el Mon Sep 17 06:58:39 2007 +0000 @@ -2037,7 +2037,8 @@ (goto-char compilation-parsing-end) ;; Parse messages. (while (and (not (or found-desired (eobp))) - (prog1 (re-search-forward "^! " nil 'move) + (prog1 (re-search-forward + "^\\(?:[^:\n]+:[[:digit:]]+:\\|!\\) " nil 'move) (setq begin-of-error (match-beginning 0) end-of-error (match-end 0))) (re-search-forward