Commit af751646 authored by Glenn Morris's avatar Glenn Morris
Browse files

Joe Wells <jbw at> (tiny change)

(tex-compilation-parse-errors): Also match TeX `--file-line-error'
parent 65001584
2007-09-17 Glenn Morris <>
* textmodes/tex-mode.el (tex-compilation-parse-errors): Prefer the
filename from `--file-line-error', if it is available.
2007-09-17 Joe Wells <> (tiny change)
* textmodes/tex-mode.el (tex-compilation-parse-errors): Also match
......@@ -2016,7 +2016,8 @@ for the error messages."
(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)))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment