From 9ae011ae3b30bfc85a891e8c9d1daa8425bbbabf Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Tue, 11 Jul 2006 00:47:53 +0000 Subject: [PATCH] (Waiting): (sit-for -1) is no longer special. (sit-for 0) is equivalent to (redisplay). Iconifying/deiconifying no longer makes sit-for return. --- lispref/commands.texi | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/lispref/commands.texi b/lispref/commands.texi index c6f3fcf39b2..2aca1b19253 100644 --- a/lispref/commands.texi +++ b/lispref/commands.texi @@ -2543,19 +2543,14 @@ point number, @code{sit-for} waits for a fractional number of seconds. Some systems support only a whole number of seconds; on these systems, @var{seconds} is rounded down. -If @var{seconds} is negative, force a redisplay even if there is -pending input. So use @code{(sit-for -1)} to force a redisplay. - -The expression @code{(sit-for 0)} is a convenient way to request a -redisplay, without any delay, if there is no pending input. @xref{Forcing Redisplay}. +The expression @code{(sit-for 0)} is equivalent to @code{(redisplay)}, +i.e. it requests a redisplay, without any delay, if there is no pending input. +@xref{Forcing Redisplay}. If @var{nodisp} is non-@code{nil}, then @code{sit-for} does not redisplay, but it still returns as soon as input is available (or when the timeout elapses). -Iconifying or deiconifying a frame makes @code{sit-for} return, because -that generates an event. @xref{Misc Events}. - The usual purpose of @code{sit-for} is to give the user time to read text that you display. -- 2.39.5