[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] elpa 88fbf80 20/51: Fix in TeX sentinels
From: |
Tassilo Horn |
Subject: |
[elpa] elpa 88fbf80 20/51: Fix in TeX sentinels |
Date: |
Sun, 22 May 2016 07:22:48 +0000 (UTC) |
branch: elpa
commit 88fbf8021c7da3c2bf14a646663bd0eb0ccc1448
Author: Mosè Giordano <address@hidden>
Commit: Mosè Giordano <address@hidden>
Fix in TeX sentinels
* tex-buf.el (TeX-TeX-sentinel, TeX-LaTeX-sentinel): Use
`TeX-error-overview-make-entries' to test presence of errors or
warnings. This is the same test carried in `TeX-master-directory' and
prevents from getting an error when
`TeX-error-overview-open-after-TeX-run' is non-nil but
`TeX-debug-warnings' and/or `TeX-debug-bad-boxes' are nil.
---
tex-buf.el | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/tex-buf.el b/tex-buf.el
index 58e1602..2b1e1a3 100644
--- a/tex-buf.el
+++ b/tex-buf.el
@@ -1358,7 +1358,9 @@ errors or warnings to show."
(progn
(if TeX-parse-all-errors
(TeX-parse-all-errors))
- (if (and TeX-error-overview-open-after-TeX-run TeX-error-list)
+ (if (and TeX-error-overview-open-after-TeX-run
+ (TeX-error-overview-make-entries
+ (TeX-master-directory)))
(TeX-error-overview)))
(message (concat name ": formatted " (TeX-current-pages)))
(if (with-current-buffer TeX-command-buffer
@@ -1461,7 +1463,9 @@ Open the error overview if
errors or warnings to show."
(if TeX-parse-all-errors
(TeX-parse-all-errors))
- (if (and TeX-error-overview-open-after-TeX-run TeX-error-list)
+ (if (and TeX-error-overview-open-after-TeX-run
+ (TeX-error-overview-make-entries
+ (TeX-master-directory)))
(TeX-error-overview))
(cond ((TeX-TeX-sentinel-check process name))
((and (save-excursion
- [elpa] elpa da88a3e 01/51: Dinamically put delete-selection prop to TeX-insert-dollar, (continued)
- [elpa] elpa da88a3e 01/51: Dinamically put delete-selection prop to TeX-insert-dollar, Tassilo Horn, 2016/05/22
- [elpa] elpa c58162a 04/51: TikZ: Add circle command., Tassilo Horn, 2016/05/22
- [elpa] elpa 310008b 05/51: TikZ: Add the arc command., Tassilo Horn, 2016/05/22
- [elpa] elpa b66c10a 08/51: TikZ: Add parabola command., Tassilo Horn, 2016/05/22
- [elpa] elpa 84dfb76 13/51: Do not use add-to-list for let-bound variable, Tassilo Horn, 2016/05/22
- [elpa] elpa de0d445 07/51: TikZ: Add optional parameter to `TeX-TikZ-single-macro-arg'., Tassilo Horn, 2016/05/22
- [elpa] elpa 44e654b 22/51: Use `match-string-no-properties', Tassilo Horn, 2016/05/22
- [elpa] elpa 36b6051 12/51: Compatibility for XEmacs, Tassilo Horn, 2016/05/22
- [elpa] elpa af27d33 17/51: TikZ: Add the grid command., Tassilo Horn, 2016/05/22
- [elpa] elpa bc8d07f 27/51: Temporarily bind `TeX-insert-macro-default-style' to 'show-optional-args', Tassilo Horn, 2016/05/22
- [elpa] elpa 88fbf80 20/51: Fix in TeX sentinels,
Tassilo Horn <=
- [elpa] elpa 693eee6 11/51: TikZ: Remove unneeded function., Tassilo Horn, 2016/05/22
- [elpa] elpa b20cd68 16/51: Fix a documentation type., Tassilo Horn, 2016/05/22
- [elpa] elpa 71349ec 23/51: Use `deactivate-input-method' if defined, Tassilo Horn, 2016/05/22
- [elpa] elpa d4d2ab5 31/51: Enable directory local variables in japanese-{latex, plain-tex}-mode, Tassilo Horn, 2016/05/22
- [elpa] elpa 63a83c3 30/51: Make unloading of tex-site work on Emacs 24, Tassilo Horn, 2016/05/22
- [elpa] elpa 5886c49 41/51: Improve the insertation of "macro" environment, Tassilo Horn, 2016/05/22
- [elpa] elpa e19f8bd 37/51: Do not check TeX engine with ifluatex package, Tassilo Horn, 2016/05/22
- [elpa] elpa 79a8643 47/51: Respect both "xcolor" and "color" for command queries, Tassilo Horn, 2016/05/22
- [elpa] elpa ccfe316 42/51: Make TeX-view work better with regions, Tassilo Horn, 2016/05/22
- [elpa] elpa d418e9a 15/51: Prevent infinite loop in TeX-command-expand, Tassilo Horn, 2016/05/22