[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master ce09f19: Don't display the warning buttons in bytecomp buffers
From: |
Lars Ingebrigtsen |
Subject: |
master ce09f19: Don't display the warning buttons in bytecomp buffers |
Date: |
Thu, 15 Oct 2020 12:36:42 -0400 (EDT) |
branch: master
commit ce09f19c2849c6c13520cc1d8351974c8bee9640
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Don't display the warning buttons in bytecomp buffers
* lisp/emacs-lisp/warnings.el (display-warning): Don't do the
buttons in bytecomp buffers.
---
lisp/emacs-lisp/warnings.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/emacs-lisp/warnings.el b/lisp/emacs-lisp/warnings.el
index e10c149..6919edc 100644
--- a/lisp/emacs-lisp/warnings.el
+++ b/lisp/emacs-lisp/warnings.el
@@ -294,7 +294,8 @@ entirely by setting `warning-suppress-types' or
message)
;; Don't output the buttons when doing batch compilation
;; and similar.
- (unless noninteractive
+ (when (and (not noninteractive)
+ (not (eq type 'bytecomp)))
(insert " ")
(insert-button "Disable showing"
'type 'warning-suppress-warning
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master ce09f19: Don't display the warning buttons in bytecomp buffers,
Lars Ingebrigtsen <=