From 8f8d28f6dc8ea6d5f35c08c7ca03f47596bc4aad Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Wed, 4 Mar 2026 09:44:08 -0500 Subject: [PATCH] (flymake-start): Give a bit more info in the log * lisp/progmodes/flymake.el (flymake-start): Log the reason why it's disabled when not starting a backend. --- lisp/progmodes/flymake.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el index c2868a7c622..1b81c4a36e6 100644 --- a/lisp/progmodes/flymake.el +++ b/lisp/progmodes/flymake.el @@ -1402,8 +1402,10 @@ Interactively, with a prefix arg, FORCE is t." ((and (not force) (flymake--with-backend-state backend state (flymake--state-disabled state))) - (flymake-log :debug "Backend %s is disabled, not starting" - backend)) + (flymake-log :debug "Backend %s is disabled, not starting: %S" + backend + (flymake--with-backend-state backend state + (flymake--state-disabled state)))) (t (flymake--run-backend backend backend-args))) nil)))