1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-10 17:02:06 -07:00

(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.
This commit is contained in:
Stefan Monnier 2026-03-04 09:44:08 -05:00
parent 7d63d267f2
commit 8f8d28f6dc

View file

@ -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)))