Check for the value of flymake-mode after hooks are finished (bug#34294)
(defvar-local flymake--recent-changes nil
"Recent changes collected by `flymake-after-change-function'.")
+(defvar flymake-mode)
(defun flymake-start (&optional deferred force)
"Start a syntax check for the current buffer.
(add-hook 'window-configuration-change-hook
#'start-on-display
'append 'local))
- (t
+ (flymake-mode
(setq flymake-check-start-time (float-time))
(let ((backend-args
(and