]> git.eshelyaron.com Git - emacs.git/commitdiff
[TODO] Remove noisy anti-noise feature
authorJonas Bernoulli <jonas@bernoul.li>
Wed, 18 Nov 2020 14:18:07 +0000 (15:18 +0100)
committerJonas Bernoulli <jonas@bernoul.li>
Wed, 18 Nov 2020 14:21:12 +0000 (15:21 +0100)
lisp/emacs-lisp/warnings.el

index f525ea433addbb93b6f055d566be58e4c041451e..6cd7022e12e8570fecc3adf4f575c3bc40f2df31 100644 (file)
@@ -292,17 +292,6 @@ entirely by setting `warning-suppress-types' or
              (insert (format (nth 1 level-info)
                              (format warning-type-format typename))
                      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)
              (when (and warning-fill-prefix (not (string-match "\n" message)))
                (let ((fill-prefix warning-fill-prefix)