summaryrefslogtreecommitdiff
path: root/doc/lispref/display.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/lispref/display.texi')
-rw-r--r--doc/lispref/display.texi5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index 9aae04ae32a..74a3172b75a 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -117,6 +117,11 @@ This variable has no effect when @code{redisplay-dont-pause} is
non-@code{nil} (the default).
@end defvar
+@defvar pre-redisplay-function
+A function run just before redisplay. It is called with one argument,
+the set of windows to redisplay.
+@end defvar
+
Although @code{redisplay} tries immediately to redisplay, it does
not change how Emacs decides which parts of its frame(s) to redisplay.
By contrast, the following function adds certain windows to the