From: Richard M. Stallman Date: Mon, 25 Sep 2006 21:55:29 +0000 (+0000) Subject: (Timers): Describe timer-max-repeats. X-Git-Tag: emacs-pretest-22.0.90~343 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1794715145f7a8b77b67fe5388ad38fed39c74ab;p=emacs.git (Timers): Describe timer-max-repeats. --- diff --git a/lispref/os.texi b/lispref/os.texi index 65cb0b906af..a36d921f7af 100644 --- a/lispref/os.texi +++ b/lispref/os.texi @@ -1474,6 +1474,12 @@ between them). If you want a timer to run again no less than @var{n} seconds after the last invocation, don't use the @var{repeat} argument. Instead, the timer function should explicitly reschedule the timer. +@defvar timer-max-repeats +This variable's value specifies the maximum number of times to repeat +calling a timer function in a row, when many previously scheduled +calls were unavoidably delayed. +@end defvar + @defmac with-timeout (seconds timeout-forms@dots{}) body@dots{} Execute @var{body}, but give up after @var{seconds} seconds. If @var{body} finishes before the time is up, @code{with-timeout} returns