diff lispref/commands.texi @ 71335:150d9406afb3

(Waiting): Negative arg to sit-for forces redisplay even if input is pending.
author Kim F. Storm <storm@cua.dk>
date Tue, 13 Jun 2006 22:18:38 +0000
parents f137d96866f0
children c46f87481f13
line wrap: on
line diff
--- a/lispref/commands.texi	Tue Jun 13 22:18:06 2006 +0000
+++ b/lispref/commands.texi	Tue Jun 13 22:18:38 2006 +0000
@@ -2532,8 +2532,11 @@
 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.  @xref{Forcing Redisplay}.
+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