From: Glenn Morris Date: Sat, 1 Mar 2014 02:54:08 +0000 (-0800) Subject: * doc/lispref/display.texi (Forcing Redisplay): Mention pre-redisplay-function. X-Git-Tag: emacs-24.3.90~330 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3a6e15dd6fd89a4fbffe706674e86e3303fd2e91;p=emacs.git * doc/lispref/display.texi (Forcing Redisplay): Mention pre-redisplay-function. * etc/NEWS: Related markup. --- 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'. +++