aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim F. Storm2006-07-11 00:47:42 +0000
committerKim F. Storm2006-07-11 00:47:42 +0000
commita4df70f7df56f20168b56172e4bcdd6937751708 (patch)
tree07591892fa771e56053666839f81d7be45acb007
parentd8120806749ce933cf24c59514d9553a2edb05d6 (diff)
downloademacs-a4df70f7df56f20168b56172e4bcdd6937751708.tar.gz
emacs-a4df70f7df56f20168b56172e4bcdd6937751708.zip
(Forcing Redisplay): Add `redisplay' function.
Don't mention (sit-for -1) -- use (redisplay t) instead.
-rw-r--r--lispref/display.texi11
1 files changed, 7 insertions, 4 deletions
diff --git a/lispref/display.texi b/lispref/display.texi
index 567b9931b48..701957c8ad5 100644
--- a/lispref/display.texi
+++ b/lispref/display.texi
@@ -113,10 +113,13 @@ prevent or halt redisplay; redisplay occurs, and finishes,
113regardless of whether input is available. 113regardless 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, 117This function performs an immediate redisplay provided there are no
118with @code{(sit-for 0)}. To force a display update even when input is 118pending input events. This is equivalent to @code{(sit-for 0)}.
119pending, use @code{(sit-for -1)}. 119
120If the optional argument @var{force} is non-@code{nil}, it forces an
121immediate 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