[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 7f58daf: Make eldoc timer non-repeatable
From: |
Dmitry Gutov |
Subject: |
[Emacs-diffs] master 7f58daf: Make eldoc timer non-repeatable |
Date: |
Tue, 21 Jul 2015 13:58:28 +0000 |
branch: master
commit 7f58daf8166d03c664e5a6d1984dc3afd74e08d2
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>
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.
---
lisp/emacs-lisp/eldoc.el | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lisp/emacs-lisp/eldoc.el b/lisp/emacs-lisp/eldoc.el
index 0091cdb..032cdec 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 7f58daf: Make eldoc timer non-repeatable,
Dmitry Gutov <=