aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2014-02-28 18:54:08 -0800
committerGlenn Morris2014-02-28 18:54:08 -0800
commit3a6e15dd6fd89a4fbffe706674e86e3303fd2e91 (patch)
tree11a4c0eed94076ef6cbf261f584d834b356323cf
parent2501c91259584d30e0cbb3a5be143b60b1204f73 (diff)
downloademacs-3a6e15dd6fd89a4fbffe706674e86e3303fd2e91.tar.gz
emacs-3a6e15dd6fd89a4fbffe706674e86e3303fd2e91.zip
* doc/lispref/display.texi (Forcing Redisplay): Mention pre-redisplay-function.
* etc/NEWS: Related markup.
-rw-r--r--doc/lispref/ChangeLog4
-rw-r--r--doc/lispref/display.texi5
-rw-r--r--etc/NEWS1
3 files changed, 10 insertions, 0 deletions
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 @@
12014-03-01 Glenn Morris <rgm@gnu.org>
2
3 * display.texi (Forcing Redisplay): Mention pre-redisplay-function.
4
12014-02-28 Xue Fuqiao <xfq@gnu.org> 52014-02-28 Xue Fuqiao <xfq@gnu.org>
2 6
3 * functions.texi (Advising Functions): 7 * 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
@@ -117,6 +117,11 @@ This variable has no effect when @code{redisplay-dont-pause} is
117non-@code{nil} (the default). 117non-@code{nil} (the default).
118@end defvar 118@end defvar
119 119
120@defvar pre-redisplay-function
121A function run just before redisplay. It is called with one argument,
122the set of windows to redisplay.
123@end defvar
124
120 Although @code{redisplay} tries immediately to redisplay, it does 125 Although @code{redisplay} tries immediately to redisplay, it does
121not change how Emacs decides which parts of its frame(s) to redisplay. 126not change how Emacs decides which parts of its frame(s) to redisplay.
122By contrast, the following function adds certain windows to the 127By contrast, the following function adds certain windows to the
diff --git a/etc/NEWS b/etc/NEWS
index 9e803f66040..157a505bfd6 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1240,6 +1240,7 @@ frame.
1240*** The hook `term-setup-hook' is obsolete. It is entirely equivalent 1240*** The hook `term-setup-hook' is obsolete. It is entirely equivalent
1241to `emacs-startup-hook'. See also the new `tty-setup-hook'. 1241to `emacs-startup-hook'. See also the new `tty-setup-hook'.
1242 1242
1243+++
1243** New hook `pre-redisplay-function'. 1244** New hook `pre-redisplay-function'.
1244 1245
1245+++ 1246+++