changeset 71334:acf37b9ebce7

(Forcing Redisplay): Use (sit-for -1) to force a redisplay. Remove incorrect example of binding redisplay-dont-pause around (sit-for 0).
author Kim F. Storm <storm@cua.dk>
date Tue, 13 Jun 2006 22:18:06 +0000
parents a8cbcce39bd0
children 150d9406afb3
files lispref/display.texi
diffstat 1 files changed, 2 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/lispref/display.texi	Tue Jun 13 22:06:22 2006 +0000
+++ b/lispref/display.texi	Tue Jun 13 22:18:06 2006 +0000
@@ -115,14 +115,10 @@
 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