]> git.eshelyaron.com Git - emacs.git/commit
Replace anonymous lambda timers with named functions
authorMatthew Bauer <mjbauer95@gmail.com>
Tue, 4 Mar 2025 01:33:15 +0000 (02:33 +0100)
committerEshel Yaron <me@eshelyaron.com>
Tue, 4 Mar 2025 21:05:01 +0000 (22:05 +0100)
commit5e2064b4de0d4019b0a928b511a673ab878a6e48
tree769a8cd81259f30ca0a34014a00d8c9947089461
parentb8c34d4caee3a1481b48cd4a0d16ae722a3f15a0
Replace anonymous lambda timers with named functions

* lisp/emacs-lisp/eldoc.el (eldoc--update, eldoc-schedule-timer):
* lisp/jit-lock.el (jit-lock-context--update)
(jit-lock--antiblink-update): New functions broken out from...
* lisp/emacs-lisp/eldoc.el (eldoc-schedule-timer):
* lisp/jit-lock.el (jit-lock-mode, jit-lock--antiblink-post-command):
...here.  Use them as values for timers, to give them readable names
in 'M-x list-timers'.  (Bug#71354)

(cherry picked from commit ec517d1dcf3260b2cf1684566b5e3bf3979eaceb)
lisp/emacs-lisp/eldoc.el
lisp/jit-lock.el