aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/emacs-lisp/timer.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/timer.el b/lisp/emacs-lisp/timer.el
index 54c5aff305a..0c66a207351 100644
--- a/lisp/emacs-lisp/timer.el
+++ b/lisp/emacs-lisp/timer.el
@@ -300,7 +300,11 @@ and idle timers such as are scheduled by `run-with-idle-timer'."
300 "Third-to-last timer that was run.") 300 "Third-to-last timer that was run.")
301 301
302(defvar timer-max-repeats 10 302(defvar timer-max-repeats 10
303 "*Maximum number of times to repeat a timer, if real time jumps.") 303 "*Maximum number of times to repeat a timer, if many repeats are delayed.
304Timer invocations can be delayed because Emacs is suspended or busy,
305or because the system's time changes. If such an occurrence makes it
306appear that many invocations are overdue, this variable controls
307how many will really happen.")
304 308
305(defun timer-until (timer time) 309(defun timer-until (timer time)
306 "Calculate number of seconds from when TIMER will run, until TIME. 310 "Calculate number of seconds from when TIMER will run, until TIME.