Mercurial > emacs
changeset 73121:9c30f6865f5f
(Timers): Describe timer-max-repeats.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 25 Sep 2006 21:55:29 +0000 |
parents | 6d481bdb9779 |
children | 990e44981d47 |
files | lispref/os.texi |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/os.texi Mon Sep 25 15:28:58 2006 +0000 +++ b/lispref/os.texi Mon Sep 25 21:55:29 2006 +0000 @@ -1474,6 +1474,12 @@ 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