[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 31c60df: * lisp/progmodes/flymake.el (flymake-start
From: |
Juri Linkov |
Subject: |
[Emacs-diffs] master 31c60df: * lisp/progmodes/flymake.el (flymake-start): Check for flymake-mode. |
Date: |
Sun, 5 May 2019 16:07:50 -0400 (EDT) |
branch: master
commit 31c60dfbd8541c9f1b1bc8127dde85e5d5af51b5
Author: Juri Linkov <address@hidden>
Commit: Juri Linkov <address@hidden>
* lisp/progmodes/flymake.el (flymake-start): Check for flymake-mode.
Check for the value of flymake-mode after hooks are finished (bug#34294)
---
lisp/progmodes/flymake.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el
index 5c7a7cc..abe2933 100644
--- a/lisp/progmodes/flymake.el
+++ b/lisp/progmodes/flymake.el
@@ -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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 31c60df: * lisp/progmodes/flymake.el (flymake-start): Check for flymake-mode.,
Juri Linkov <=