]> git.eshelyaron.com Git - emacs.git/commit
Flymake uses proper idle timers
authorJoão Távora <joaotavora@gmail.com>
Sat, 30 Sep 2017 09:45:48 +0000 (10:45 +0100)
committerJoão Távora <joaotavora@gmail.com>
Tue, 3 Oct 2017 13:18:55 +0000 (14:18 +0100)
commit22a7372faba317a3589c49fef912e542f3197f0d
treee31fee579e586b4596c8c50d1ee4ccdb48114c61
parent91851c3ea05392701ca779961e4fb518635fa5b2
Flymake uses proper idle timers

Also, flymake-no-changes-timeout can be set to nil to disable
automatic periodic checks.  But even in that situation the idle timer
still runs at a reduced rate to detect changes in the variable and
revert that decision.

* lisp/progmodes/flymake.el (flymake-no-changes-timeout): Improve doc.
(flymake-last-change-time): Delete.
(flymake--schedule-timer-maybe): New helper.
(flymake-after-change-function): Use it.
(flymake-on-timer-event): Delete
(flymake-mode): Don't scheduler timer.
lisp/progmodes/flymake.el