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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue