aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorEli Zaretskii2015-11-21 13:30:30 +0200
committerEli Zaretskii2015-11-21 13:30:30 +0200
commit3ca44a1ad414c5e5b07f35959ce21f01064476a8 (patch)
tree06262c25a7a9f65123d1aa43f48f32111c5ed5a9 /doc
parent3858b7949fdf5af8dd94cefc5a2684ad285e2cdf (diff)
downloademacs-3ca44a1ad414c5e5b07f35959ce21f01064476a8.tar.gz
emacs-3ca44a1ad414c5e5b07f35959ce21f01064476a8.zip
Call 'window-size-change-functions' for mini-windows
* src/window.c (grow_mini_window, shrink_mini_window): Set the frame's 'window_sizes_changed' flag. * src/xdisp.c (redisplay_internal): Call the hooks on 'window-size-change-functions' if the call to 'echo_area_display' sets the frame's 'window_sizes_changed' flag. (syms_of_xdisp) <window-size-change-functions>: Update doc string to indicate the mini-window resizes trigger a call to the hooks, and don't promise that will happen "before redisplay". (Bug#19576, Bug#21333) * doc/lispref/windows.texi (Window Hooks): Update the description of 'window-size-change-functions'.
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/windows.texi8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi
index 357247ef433..d0f62549a5b 100644
--- a/doc/lispref/windows.texi
+++ b/doc/lispref/windows.texi
@@ -4264,10 +4264,10 @@ work.
4264@end defvar 4264@end defvar
4265 4265
4266@defvar window-size-change-functions 4266@defvar window-size-change-functions
4267This variable holds a list of functions to be called if the size of any 4267This variable holds a list of functions to be called if the size of
4268window changes for any reason. The functions are called just once per 4268any window changes for any reason. The functions are called at the
4269redisplay, and just once for each frame on which size changes have 4269beginning of a redisplay cycle, and just once for each frame on which
4270occurred. 4270size changes have occurred.
4271 4271
4272Each function receives the frame as its sole argument. There is no 4272Each function receives the frame as its sole argument. There is no
4273direct way to find out which windows on that frame have changed size, or 4273direct way to find out which windows on that frame have changed size, or