projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce09f19
)
* lisp/emacs-lisp/warnings.el (display-warning): Don't be so negative
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Thu, 15 Oct 2020 18:34:12 +0000
(14:34 -0400)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Thu, 15 Oct 2020 18:34:12 +0000
(14:34 -0400)
lisp/emacs-lisp/warnings.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/warnings.el
b/lisp/emacs-lisp/warnings.el
index 6919edcc81813ef39d358f51983f3d5d7f3641bc..f525ea433addbb93b6f055d566be58e4c041451e 100644
(file)
--- a/
lisp/emacs-lisp/warnings.el
+++ b/
lisp/emacs-lisp/warnings.el
@@
-294,8
+294,7
@@
entirely by setting `warning-suppress-types' or
message)
;; Don't output the buttons when doing batch compilation
;; and similar.
- (when (and (not noninteractive)
- (not (eq type 'bytecomp)))
+ (unless (or noninteractive (eq type 'bytecomp))
(insert " ")
(insert-button "Disable showing"
'type 'warning-suppress-warning