* doc/lispref/display.texi (Forcing Redisplay): Mention pre-redisplay-function.

* etc/NEWS: Related markup.
This commit is contained in:
Glenn Morris 2014-02-28 18:54:08 -08:00
parent 2501c91259
commit 3a6e15dd6f
3 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2014-03-01 Glenn Morris <rgm@gnu.org>
* display.texi (Forcing Redisplay): Mention pre-redisplay-function.
2014-02-28 Xue Fuqiao <xfq@gnu.org>
* functions.texi (Advising Functions):

View file

@ -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

View file

@ -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'.
+++