diff options
| author | Kim F. Storm | 2006-07-11 00:47:42 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2006-07-11 00:47:42 +0000 |
| commit | a4df70f7df56f20168b56172e4bcdd6937751708 (patch) | |
| tree | 07591892fa771e56053666839f81d7be45acb007 | |
| parent | d8120806749ce933cf24c59514d9553a2edb05d6 (diff) | |
| download | emacs-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.texi | 11 |
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, | |||
| 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 |