aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2026-03-04 09:44:08 -0500
committerStefan Monnier2026-03-04 09:44:27 -0500
commit8f8d28f6dc8ea6d5f35c08c7ca03f47596bc4aad (patch)
treef3fe10b23deb8932dafb58f54fdac33a54f07f0f
parent7d63d267f2da75471c0d40ae710265a78f560512 (diff)
downloademacs-8f8d28f6dc8ea6d5f35c08c7ca03f47596bc4aad.tar.gz
emacs-8f8d28f6dc8ea6d5f35c08c7ca03f47596bc4aad.zip
(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.
-rw-r--r--lisp/progmodes/flymake.el6
1 files 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."
1402 ((and (not force) 1402 ((and (not force)
1403 (flymake--with-backend-state backend state 1403 (flymake--with-backend-state backend state
1404 (flymake--state-disabled state))) 1404 (flymake--state-disabled state)))
1405 (flymake-log :debug "Backend %s is disabled, not starting" 1405 (flymake-log :debug "Backend %s is disabled, not starting: %S"
1406 backend)) 1406 backend
1407 (flymake--with-backend-state backend state
1408 (flymake--state-disabled state))))
1407 (t 1409 (t
1408 (flymake--run-backend backend backend-args))) 1410 (flymake--run-backend backend backend-args)))
1409 nil))) 1411 nil)))