Can be set to nil to disable automatic periodic checks.
* lisp/progmodes/flymake.el (flymake-no-changes-timeout): Improve doc
(flymake-on-timer-event): Use it.
:type 'boolean)
(defcustom flymake-no-changes-timeout 0.5
- "Time to wait after last change before starting compilation."
+ "Time to wait after last change before automatically checking buffer.
+If nil, never start checking buffer automatically like this."
:type 'number)
(defcustom flymake-gui-warnings-enabled t
(with-current-buffer buffer
(when (and flymake-mode
flymake-last-change-time
+ flymake-no-changes-timeout
(> (- (float-time) flymake-last-change-time)
flymake-no-changes-timeout))