branch: externals/auctex
commit 5ed22c093e0310c4ad3d7adbfb0b34392486e545
Author: Tassilo Horn <[email protected]>
Commit: Tassilo Horn <[email protected]>
FiX TeX error parsing.
* tex-buf.el (TeX-TeX-sentinel): Fix error parsing.
---
ChangeLog | 1 +
tex-buf.el | 10 +++++-----
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 68d0d29..7a90c90 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
2015-09-19 Tassilo Horn <[email protected]>
* tex-buf.el (TeX-error-overview): Fix typo in error message.
+ (TeX-TeX-sentinel): Fix error parsing.
2015-09-13 Arash Esbati <[email protected]>
diff --git a/tex-buf.el b/tex-buf.el
index 03237e8..bfe684e 100644
--- a/tex-buf.el
+++ b/tex-buf.el
@@ -1267,12 +1267,12 @@ Open the error overview if
`TeX-error-overview-open-after-TeX-run' is non-nil and there are
errors or warnings to show."
(if (TeX-TeX-sentinel-check process name)
- ()
+ (progn
+ (if TeX-parse-all-errors
+ (TeX-parse-all-errors))
+ (if (and TeX-error-overview-open-after-TeX-run TeX-error-list)
+ (TeX-error-overview)))
(message (concat name ": formatted " (TeX-current-pages)))
- (if TeX-parse-all-errors
- (TeX-parse-all-errors))
- (if (and TeX-error-overview-open-after-TeX-run TeX-error-list)
- (TeX-error-overview))
(if (with-current-buffer TeX-command-buffer
(and TeX-PDF-via-dvips-ps2pdf TeX-PDF-mode))
(setq TeX-command-next "Dvips")