]> git.eshelyaron.com Git - emacs.git/commitdiff
Mark flymake diagnostic modes as non-interactive
authorStefan Kangas <stefankangas@gmail.com>
Wed, 14 Dec 2022 22:46:38 +0000 (23:46 +0100)
committerStefan Kangas <stefankangas@gmail.com>
Wed, 14 Dec 2022 22:48:44 +0000 (23:48 +0100)
* lisp/progmodes/flymake.el (flymake-diagnostics-buffer-mode)
(flymake-project-diagnostics-mode): Mark modes as non-interactive.

lisp/progmodes/flymake.el

index a4a8cd84050932e29c93073cc2d87e24bec72f26..7af62c353581b27cbf27b43f1b2fce1ba2f24642 100644 (file)
@@ -1635,6 +1635,7 @@ buffer."
 (define-derived-mode flymake-diagnostics-buffer-mode tabulated-list-mode
   "Flymake diagnostics"
   "A mode for listing Flymake diagnostics."
+  :interactive nil
   (setq tabulated-list-format flymake--diagnostics-base-tabulated-list-format)
   (setq tabulated-list-entries
         'flymake--diagnostics-buffer-entries)
@@ -1692,6 +1693,7 @@ some of this variable's contents the diagnostic listings.")
 (define-derived-mode flymake-project-diagnostics-mode tabulated-list-mode
   "Flymake diagnostics"
   "A mode for listing Flymake diagnostics."
+  :interactive nil
   (setq tabulated-list-format
         (vconcat [("File" 25 t)]
                  flymake--diagnostics-base-tabulated-list-format))