summaryrefslogtreecommitdiff
path: root/lispref
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2006-09-25 21:55:29 +0000
committerRichard M. Stallman <rms@gnu.org>2006-09-25 21:55:29 +0000
commit1794715145f7a8b77b67fe5388ad38fed39c74ab (patch)
tree89f3555b6c4da0d380b0b4db3cf274ae4058393c /lispref
parent2a95a27c8e3ae638e23b0c84a4fff9b490345575 (diff)
downloademacs-1794715145f7a8b77b67fe5388ad38fed39c74ab.tar.gz
(Timers): Describe timer-max-repeats.
Diffstat (limited to 'lispref')
-rw-r--r--lispref/os.texi6
1 files changed, 6 insertions, 0 deletions
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