From: Stefan Kangas Date: Wed, 14 Dec 2022 22:46:38 +0000 (+0100) Subject: Mark flymake diagnostic modes as non-interactive X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8ab1f09e0983f165e7081c8ea9f35ac9565e43db;p=emacs.git Mark flymake diagnostic modes as non-interactive * lisp/progmodes/flymake.el (flymake-diagnostics-buffer-mode) (flymake-project-diagnostics-mode): Mark modes as non-interactive. --- diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el index a4a8cd84050..7af62c35358 100644 --- a/lisp/progmodes/flymake.el +++ b/lisp/progmodes/flymake.el @@ -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))