From 3a6e15dd6fd89a4fbffe706674e86e3303fd2e91 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Fri, 28 Feb 2014 18:54:08 -0800 Subject: [PATCH] * doc/lispref/display.texi (Forcing Redisplay): Mention pre-redisplay-function. * etc/NEWS: Related markup. --- doc/lispref/ChangeLog | 4 ++++ doc/lispref/display.texi | 5 +++++ etc/NEWS | 1 + 3 files changed, 10 insertions(+) diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index e96ea3fbbc3..4b629e6f4dd 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog @@ -1,3 +1,7 @@ +2014-03-01 Glenn Morris + + * display.texi (Forcing Redisplay): Mention pre-redisplay-function. + 2014-02-28 Xue Fuqiao * functions.texi (Advising Functions): 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 @@ -115,6 +115,11 @@ the input is processed. The default value is 0.1; if the value is 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 diff --git a/etc/NEWS b/etc/NEWS index 9e803f66040..157a505bfd6 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1240,6 +1240,7 @@ frame. *** The hook `term-setup-hook' is obsolete. It is entirely equivalent to `emacs-startup-hook'. See also the new `tty-setup-hook'. ++++ ** New hook `pre-redisplay-function'. +++ -- 2.39.2