changeset 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 52c2a53933f8
children 17ff429570c5
files lispref/display.texi
diffstat 1 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lispref/display.texi	Mon Jun 12 22:37:17 2006 +0000
+++ b/lispref/display.texi	Mon Jun 12 22:37:31 2006 +0000
@@ -94,6 +94,19 @@
 is exactly what you want.  However, you can prevent preemption by
 binding @code{redisplay-dont-pause} to a non-@code{nil} value.
 
+@tindex redisplay-preemption-period
+@defvar redisplay-preemption-period
+This variable controls how often Emacs checks for new input during
+redisplay.  The default setting is to check for input every 0.1
+seconds after redislpay has started.  If input arrives, redisplay
+stops, and all available input is processed before redisplay starts over.
+  If this variable is set to @code{nil}, redisplay--once started--is never
+preempted by input.
+
+@emph{Note} that this variable is only available if Emacs is built
+with support for sub-second timers.
+@end defvar
+
 @tindex redisplay-dont-pause
 @defvar redisplay-dont-pause
 If this variable is non-@code{nil}, pending input does not