mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 12:21:25 -08:00
Joe Wells <jbw at macs.hw.ac.uk> (tiny change)
(tex-compilation-parse-errors): Also match TeX `--file-line-error' format.
This commit is contained in:
parent
6500158410
commit
af751646bd
2 changed files with 7 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2007-09-17 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* textmodes/tex-mode.el (tex-compilation-parse-errors): Prefer the
|
||||
filename from `--file-line-error', if it is available.
|
||||
|
||||
2007-09-17 Joe Wells <jbw@macs.hw.ac.uk> (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)))
|
||||
(re-search-forward
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue