Mercurial > emacs
comparison lisp/emacs-lisp/timer.el @ 73103:76400a9b9e59
(timer-max-repeats): Doc fix.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 24 Sep 2006 20:39:52 +0000 |
parents | a3c85e1915ad |
children | 1d4b1a32fd66 bb0e318b7c53 |
comparison
equal
deleted
inserted
replaced
73102:b371147e0e3b | 73103:76400a9b9e59 |
---|---|
298 "Next-to-last timer that was run.") | 298 "Next-to-last timer that was run.") |
299 (defvar timer-event-last-2 nil | 299 (defvar timer-event-last-2 nil |
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. |
304 Timer invocations can be delayed because Emacs is suspended or busy, | |
305 or because the system's time changes. If such an occurrence makes it | |
306 appear that many invocations are overdue, this variable controls | |
307 how 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. |
307 TIMER is a timer, and stands for the time when its next repeat is scheduled. | 311 TIMER is a timer, and stands for the time when its next repeat is scheduled. |
308 TIME is a time-list." | 312 TIME is a time-list." |