[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
main 28599717 2/2: Don't show confusing message
From: |
Ikumi Keita |
Subject: |
main 28599717 2/2: Don't show confusing message |
Date: |
Wed, 7 Aug 2024 00:47:37 -0400 (EDT) |
branch: main
commit 28599717fb1d1d15cbd2a0e80cf9b73852e01645
Author: Ikumi Keita <ikumi@ikumi.que.jp>
Commit: Ikumi Keita <ikumi@ikumi.que.jp>
Don't show confusing message
* tex.el (TeX-TeX-sentinel-check): Don't leave message suggesting
invalid key bind when error overview window is opened.
---
tex.el | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/tex.el b/tex.el
index ab743d24..93f22520 100644
--- a/tex.el
+++ b/tex.el
@@ -8502,9 +8502,12 @@ Return nil only if no errors were found."
(file-exists-p (TeX-match-buffer 1)))
(throw 'found t))))
(progn
- (message "%s errors in `%s'. Use %s to display." name (buffer-name)
- (substitute-command-keys
- "\\<TeX-mode-map>\\[TeX-next-error]"))
+ (if TeX-error-overview-open-after-TeX-run
+ ;; Don't leave inconsistent message.
+ (message nil)
+ (message "%s errors in `%s'. Use %s to display." name (buffer-name)
+ (substitute-command-keys
+ "\\<TeX-mode-map>\\[TeX-next-error]")))
(setq TeX-command-next TeX-command-default)
;; error reported to TeX-error-report-switches
(setq TeX-error-report-switches
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- main 28599717 2/2: Don't show confusing message,
Ikumi Keita <=