projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72dc7e7
)
Make eldoc timer non-repeatable
author
Dmitry Gutov
<dgutov@yandex.ru>
Tue, 21 Jul 2015 13:57:58 +0000
(16:57 +0300)
committer
Dmitry Gutov
<dgutov@yandex.ru>
Tue, 21 Jul 2015 13:58:14 +0000
(16:58 +0300)
* 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.
lisp/emacs-lisp/eldoc.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/eldoc.el
b/lisp/emacs-lisp/eldoc.el
index 0091cdb84846d7c84eacf104f506f4c4f6350243..032cdec066d7f9254ad78170d19a023a3d7e9b6e 100644
(file)
--- a/
lisp/emacs-lisp/eldoc.el
+++ b/
lisp/emacs-lisp/eldoc.el
@@
-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