diff options
| -rw-r--r-- | lisp/ChangeLog | 10 | ||||
| -rw-r--r-- | lisp/textmodes/tex-mode.el | 3 |
2 files changed, 12 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 596d972932b..c2b1e6be276 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,13 @@ | |||
| 1 | 2007-09-17 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * textmodes/tex-mode.el (tex-compilation-parse-errors): Prefer the | ||
| 4 | filename from `--file-line-error', if it is available. | ||
| 5 | |||
| 6 | 2007-09-17 Joe Wells <jbw@macs.hw.ac.uk> (tiny change) | ||
| 7 | |||
| 8 | * textmodes/tex-mode.el (tex-compilation-parse-errors): Also match | ||
| 9 | TeX `--file-line-error' format. | ||
| 10 | |||
| 1 | 2007-09-17 Dan Nicolaescu <dann@ics.uci.edu> | 11 | 2007-09-17 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 12 | ||
| 3 | * xt-mouse.el: Delete add-hook calls that were moved to | 13 | * xt-mouse.el: Delete add-hook calls that were moved to |
diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el index 986c4fca20b..85cb77b69cc 100644 --- a/lisp/textmodes/tex-mode.el +++ b/lisp/textmodes/tex-mode.el | |||
| @@ -2037,7 +2037,8 @@ for the error messages." | |||
| 2037 | (goto-char compilation-parsing-end) | 2037 | (goto-char compilation-parsing-end) |
| 2038 | ;; Parse messages. | 2038 | ;; Parse messages. |
| 2039 | (while (and (not (or found-desired (eobp))) | 2039 | (while (and (not (or found-desired (eobp))) |
| 2040 | (prog1 (re-search-forward "^! " nil 'move) | 2040 | (prog1 (re-search-forward |
| 2041 | "^\\(?:[^:\n]+:[[:digit:]]+:\\|!\\) " nil 'move) | ||
| 2041 | (setq begin-of-error (match-beginning 0) | 2042 | (setq begin-of-error (match-beginning 0) |
| 2042 | end-of-error (match-end 0))) | 2043 | end-of-error (match-end 0))) |
| 2043 | (re-search-forward | 2044 | (re-search-forward |