[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-diffs] Changes to auctex/tex-buf.el
From: |
Ralf Angeli |
Subject: |
[AUCTeX-diffs] Changes to auctex/tex-buf.el |
Date: |
Wed, 26 Apr 2006 06:10:05 +0000 |
Index: auctex/tex-buf.el
diff -u auctex/tex-buf.el:1.250 auctex/tex-buf.el:1.251
--- auctex/tex-buf.el:1.250 Thu Apr 20 20:39:28 2006
+++ auctex/tex-buf.el Wed Apr 26 06:10:05 2006
@@ -842,7 +842,7 @@
(match-string 1 output-file)
"dvi")))))
(if process (TeX-format-mode-line process))
- (if (re-search-forward "^! " nil t)
+ (if (re-search-forward "^\\(!\\|.*:[0-9]+:\\) " nil t)
(progn
(message (concat name " errors in `" (buffer-name)
"'. Use C-c ` to display."))
@@ -1340,7 +1340,9 @@
(progn
(re-search-forward
(concat "\\("
- "^! \\|"
+ ;; Match regular error indicator "!" as well as
+ ;; file-line-error error indicator "file:line: error".
+ "^\\(!\\|.*:[0-9]+:\\) \\|"
"(\\|"
")\\|"
"\\'\\|"
@@ -1354,7 +1356,7 @@
(let ((string (TeX-match-buffer 1)))
(cond (;; TeX error
- (string= string "! ")
+ (match-end 2)
(TeX-error)
nil)