mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
* lisp/progmodes/flymake.el (flymake-start): Check for flymake-mode.
Check for the value of flymake-mode after hooks are finished (bug#34294)
This commit is contained in:
parent
be3ab9f301
commit
31c60dfbd8
1 changed files with 2 additions and 1 deletions
|
|
@ -860,6 +860,7 @@ with a report function."
|
|||
|
||||
(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.
|
||||
|
|
@ -904,7 +905,7 @@ Interactively, with a prefix arg, FORCE is t."
|
|||
(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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue