mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-14 09:39:42 +00:00
Make eldoc timer non-repeatable
* lisp/emacs-lisp/eldoc.el (eldoc-schedule-timer): Make the timer non-repeatable. Since it's on post-command hook, that just wasted CPU cycles.
This commit is contained in:
parent
72dc7e7824
commit
7f58daf816
@ -222,7 +222,7 @@ expression point is on."
|
||||
(memq eldoc-timer timer-idle-list)) ;FIXME: Why?
|
||||
(setq eldoc-timer
|
||||
(run-with-idle-timer
|
||||
eldoc-idle-delay t
|
||||
eldoc-idle-delay nil
|
||||
(lambda ()
|
||||
(when (or eldoc-mode
|
||||
(and global-eldoc-mode
|
||||
|
Loading…
Reference in New Issue
Block a user