comparison lispref/display.texi @ 71325:ab800262f66c

(Forcing Redisplay): Add redisplay-preemption-period.
author Kim F. Storm <storm@cua.dk>
date Mon, 12 Jun 2006 22:37:31 +0000
parents f65b9ce4b1d9
children cf0814ccd7de
comparison
equal deleted inserted replaced
71324:52c2a53933f8 71325:ab800262f66c
91 91
92 Emacs redisplay normally stops if input arrives, and does not happen 92 Emacs redisplay normally stops if input arrives, and does not happen
93 at all if input is available before it starts. Most of the time, this 93 at all if input is available before it starts. Most of the time, this
94 is exactly what you want. However, you can prevent preemption by 94 is exactly what you want. However, you can prevent preemption by
95 binding @code{redisplay-dont-pause} to a non-@code{nil} value. 95 binding @code{redisplay-dont-pause} to a non-@code{nil} value.
96
97 @tindex redisplay-preemption-period
98 @defvar redisplay-preemption-period
99 This variable controls how often Emacs checks for new input during
100 redisplay. The default setting is to check for input every 0.1
101 seconds after redislpay has started. If input arrives, redisplay
102 stops, and all available input is processed before redisplay starts over.
103 If this variable is set to @code{nil}, redisplay--once started--is never
104 preempted by input.
105
106 @emph{Note} that this variable is only available if Emacs is built
107 with support for sub-second timers.
108 @end defvar
96 109
97 @tindex redisplay-dont-pause 110 @tindex redisplay-dont-pause
98 @defvar redisplay-dont-pause 111 @defvar redisplay-dont-pause
99 If this variable is non-@code{nil}, pending input does not 112 If this variable is non-@code{nil}, pending input does not
100 prevent or halt redisplay; redisplay occurs, and finishes, 113 prevent or halt redisplay; redisplay occurs, and finishes,