mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
* 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)
|
message)
|
||||||
;; Don't output the buttons when doing batch compilation
|
;; Don't output the buttons when doing batch compilation
|
||||||
;; and similar.
|
;; and similar.
|
||||||
(when (and (not noninteractive)
|
(unless (or noninteractive (eq type 'bytecomp))
|
||||||
(not (eq type 'bytecomp)))
|
|
||||||
(insert " ")
|
(insert " ")
|
||||||
(insert-button "Disable showing"
|
(insert-button "Disable showing"
|
||||||
'type 'warning-suppress-warning
|
'type 'warning-suppress-warning
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue