projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97b8c0a
)
Don't display the warning buttons in bytecomp buffers
author
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 15 Oct 2020 16:36:26 +0000
(18:36 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 15 Oct 2020 16:36:26 +0000
(18:36 +0200)
* lisp/emacs-lisp/warnings.el (display-warning): Don't do the
buttons in bytecomp buffers.
lisp/emacs-lisp/warnings.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/warnings.el
b/lisp/emacs-lisp/warnings.el
index e10c149d89cc26db250df657073b8bee30d36503..6919edcc81813ef39d358f51983f3d5d7f3641bc 100644
(file)
--- 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