(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:
@@ -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)))
|
||||
|
||||
Reference in New Issue
Block a user