diff options
| -rw-r--r-- | lispref/commands.texi | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lispref/commands.texi b/lispref/commands.texi index 0723c368bba..a75c0c89fec 100644 --- a/lispref/commands.texi +++ b/lispref/commands.texi | |||
| @@ -2532,8 +2532,11 @@ point number, @code{sit-for} waits for a fractional number of seconds. | |||
| 2532 | Some systems support only a whole number of seconds; on these systems, | 2532 | Some systems support only a whole number of seconds; on these systems, |
| 2533 | @var{seconds} is rounded down. | 2533 | @var{seconds} is rounded down. |
| 2534 | 2534 | ||
| 2535 | If @var{seconds} is negative, force a redisplay even if there is | ||
| 2536 | pending input. So use @code{(sit-for -1)} to force a redisplay. | ||
| 2537 | |||
| 2535 | The expression @code{(sit-for 0)} is a convenient way to request a | 2538 | The expression @code{(sit-for 0)} is a convenient way to request a |
| 2536 | redisplay, without any delay. @xref{Forcing Redisplay}. | 2539 | redisplay, without any delay, if there is no pending input. @xref{Forcing Redisplay}. |
| 2537 | 2540 | ||
| 2538 | If @var{nodisp} is non-@code{nil}, then @code{sit-for} does not | 2541 | If @var{nodisp} is non-@code{nil}, then @code{sit-for} does not |
| 2539 | redisplay, but it still returns as soon as input is available (or when | 2542 | redisplay, but it still returns as soon as input is available (or when |