summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/eldoc.el
diff options
context:
space:
mode:
authorDmitry Gutov <dgutov@yandex.ru>2015-07-21 16:57:58 +0300
committerDmitry Gutov <dgutov@yandex.ru>2015-07-21 16:58:14 +0300
commit7f58daf8166d03c664e5a6d1984dc3afd74e08d2 (patch)
treeb3c44172b02916298767e2f48a281ca992ea3bf8 /lisp/emacs-lisp/eldoc.el
parent72dc7e78243d0836bfe4e4a1c17caa7eba458e1e (diff)
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.
Diffstat (limited to 'lisp/emacs-lisp/eldoc.el')
-rw-r--r--lisp/emacs-lisp/eldoc.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/eldoc.el b/lisp/emacs-lisp/eldoc.el
index 0091cdb848..032cdec066 100644
--- 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