From: Kim F. Storm Date: Tue, 13 Jun 2006 22:18:06 +0000 (+0000) Subject: (Forcing Redisplay): Use (sit-for -1) to force a redisplay. X-Git-Tag: emacs-pretest-22.0.90~1970 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=578133269130bdad5e356b29f75325011796b776;p=emacs.git (Forcing Redisplay): Use (sit-for -1) to force a redisplay. Remove incorrect example of binding redisplay-dont-pause around (sit-for 0). --- diff --git a/lispref/display.texi b/lispref/display.texi index bf5f89f18a1..fb4d5678abb 100644 --- a/lispref/display.texi +++ b/lispref/display.texi @@ -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