comparison lispref/display.texi @ 71776:93e3d16a8207

(Forcing Redisplay): Add `redisplay' function. Don't mention (sit-for -1) -- use (redisplay t) instead.
author Kim F. Storm <storm@cua.dk>
date Tue, 11 Jul 2006 00:47:42 +0000
parents 54307c14de15
children 98630b6d51a1
comparison
equal deleted inserted replaced
71775:dbb73e0b716b 71776:93e3d16a8207
111 If this variable is non-@code{nil}, pending input does not 111 If this variable is non-@code{nil}, pending input does not
112 prevent or halt redisplay; redisplay occurs, and finishes, 112 prevent or halt redisplay; redisplay occurs, and finishes,
113 regardless of whether input is available. 113 regardless of whether input is available.
114 @end defvar 114 @end defvar
115 115
116 @findex sit-for 116 @defun redisplay &optional force
117 You can request a display update, but only if no input is pending, 117 This function performs an immediate redisplay provided there are no
118 with @code{(sit-for 0)}. To force a display update even when input is 118 pending input events. This is equivalent to @code{(sit-for 0)}.
119 pending, use @code{(sit-for -1)}. 119
120 If the optional argument @var{force} is non-@code{nil}, it forces an
121 immediate and complete redisplay even if input is available.
122 @end defun
120 123
121 @node Truncation 124 @node Truncation
122 @section Truncation 125 @section Truncation
123 @cindex line wrapping 126 @cindex line wrapping
124 @cindex continuation lines 127 @cindex continuation lines