mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-10 00:00:39 -08:00
[TODO] Remove noisy anti-noise feature
This commit is contained in:
parent
007a5a6775
commit
c36b4eed2d
1 changed files with 0 additions and 11 deletions
|
|
@ -292,17 +292,6 @@ entirely by setting `warning-suppress-types' or
|
||||||
(insert (format (nth 1 level-info)
|
(insert (format (nth 1 level-info)
|
||||||
(format warning-type-format typename))
|
(format warning-type-format typename))
|
||||||
message)
|
message)
|
||||||
;; Don't output the buttons when doing batch compilation
|
|
||||||
;; and similar.
|
|
||||||
(unless (or noninteractive (eq type 'bytecomp))
|
|
||||||
(insert " ")
|
|
||||||
(insert-button "Disable showing"
|
|
||||||
'type 'warning-suppress-warning
|
|
||||||
'warning-type type)
|
|
||||||
(insert " ")
|
|
||||||
(insert-button "Disable logging"
|
|
||||||
'type 'warning-suppress-log-warning
|
|
||||||
'warning-type type))
|
|
||||||
(funcall newline)
|
(funcall newline)
|
||||||
(when (and warning-fill-prefix (not (string-match "\n" message)))
|
(when (and warning-fill-prefix (not (string-match "\n" message)))
|
||||||
(let ((fill-prefix warning-fill-prefix)
|
(let ((fill-prefix warning-fill-prefix)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue