* lisp/emacs-lisp/warnings.el (display-warning): Don't be so negative
This commit is contained in:
parent
ce09f19c28
commit
f5c9d3f54e
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue