From 8ab1f09e0983f165e7081c8ea9f35ac9565e43db Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Wed, 14 Dec 2022 23:46:38 +0100 Subject: [PATCH] Mark flymake diagnostic modes as non-interactive * lisp/progmodes/flymake.el (flymake-diagnostics-buffer-mode) (flymake-project-diagnostics-mode): Mark modes as non-interactive. --- lisp/progmodes/flymake.el | 2 ++ 1 file changed, 2 insertions(+) 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)) -- 2.39.2