]> git.eshelyaron.com Git - emacs.git/commitdiff
(Forcing Redisplay): Use (sit-for -1) to force a redisplay.
authorKim F. Storm <storm@cua.dk>
Tue, 13 Jun 2006 22:18:06 +0000 (22:18 +0000)
committerKim F. Storm <storm@cua.dk>
Tue, 13 Jun 2006 22:18:06 +0000 (22:18 +0000)
Remove incorrect example of binding redisplay-dont-pause
around (sit-for 0).

lispref/display.texi

index bf5f89f18a1c6a65058687fdf17009b17ab0ff0a..fb4d5678abb39d90932df42ffa7d391fdf5e114d 100644 (file)
@@ -115,14 +115,10 @@ prevent or halt redisplay; redisplay occurs, and finishes,
 regardless of whether input is available.
 @end defvar
 
+@tindex sit-for
   You can request a display update, but only if no input is pending,
 with @code{(sit-for 0)}.  To force a display update even when input is
-pending, do this:
-
-@example
-(let ((redisplay-dont-pause t))
-  (sit-for 0))
-@end example
+pending, use @code{(sit-for -1)}.
 
 @node Truncation
 @section Truncation