summaryrefslogtreecommitdiff
path: root/doc/lispref/display.texi
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2014-02-28 18:54:08 -0800
committerGlenn Morris <rgm@gnu.org>2014-02-28 18:54:08 -0800
commit3a6e15dd6fd89a4fbffe706674e86e3303fd2e91 (patch)
tree11a4c0eed94076ef6cbf261f584d834b356323cf /doc/lispref/display.texi
parent2501c91259584d30e0cbb3a5be143b60b1204f73 (diff)
downloademacs-3a6e15dd6fd89a4fbffe706674e86e3303fd2e91.tar.gz
* doc/lispref/display.texi (Forcing Redisplay): Mention pre-redisplay-function.
* etc/NEWS: Related markup.
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