• Eli Zaretskii's avatar
    Call 'window-size-change-functions' for mini-windows · 3ca44a1a
    Eli Zaretskii authored
    * 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'.
    3ca44a1a
windows.texi 182 KB