• Martin Rudalics's avatar
    Further redesign of window change functions · 4e082ce3
    Martin Rudalics authored
    * doc/lispref/windows.texi (Window Hooks): Revise description
    of window change functions.  Add documentation for
    'window-state-change-hook' and window state change flag.
    * etc/NEWS: Update entry for window change functions.
    * src/frame.c (Fframe_window_state_change)
    (Fset_frame_window_state_change): New functions.
    * src/frame.h (struct frame): New boolean window_state_change.
    (FRAME_WINDOW_STATE_CHANGE): New macro.
    * src/window.c (window_change_record_frames): New static
    boolean.
    (window_change_record_frame): Remove function - code moved to
    window_change_record.
    (window_change_record): Record frame changes here taking
    window_change_record_frames into account.
    (run_window_change_functions_1): Set window_change_record_frames
    whenever we run one of our hooks.
    (run_window_change_functions): Run hooks also when
    FRAME_WINDOW_STATE_CHANGE has been set.  Run
    Vwindow_state_change_hook.  Leave decision whether to record
    changes for all frames to window_change_record.
    (Vwindow_state_change_functions): Update doc-string.
    (Vwindow_state_change_hook): New normal hook.
    4e082ce3
Name
Last commit
Last update
..
charsets Loading commit data...
e Loading commit data...
forms Loading commit data...
gnus Loading commit data...
images Loading commit data...
nxml Loading commit data...
org Loading commit data...
refcards Loading commit data...
schema Loading commit data...
srecode Loading commit data...
themes Loading commit data...
tutorials Loading commit data...
AUTHORS Loading commit data...
CALC-NEWS Loading commit data...
COPYING Loading commit data...
ChangeLog.1 Loading commit data...
DEBUG Loading commit data...
DEVEL.HUMOR Loading commit data...
DISTRIB Loading commit data...
ERC-NEWS Loading commit data...
ETAGS.EBNF Loading commit data...
ETAGS.README Loading commit data...
HELLO Loading commit data...
HISTORY Loading commit data...
JOKES Loading commit data...
MACHINES Loading commit data...
MH-E-NEWS Loading commit data...
NEWS Loading commit data...
NEWS.1-17 Loading commit data...
NEWS.18 Loading commit data...
NEWS.19 Loading commit data...
NEWS.20 Loading commit data...
NEWS.21 Loading commit data...
NEWS.22 Loading commit data...
NEWS.23 Loading commit data...
NEWS.24 Loading commit data...
NEWS.25 Loading commit data...
NEWS.26 Loading commit data...
NEXTSTEP Loading commit data...
NXML-NEWS Loading commit data...
ORG-NEWS Loading commit data...
PROBLEMS Loading commit data...
README Loading commit data...
TERMS Loading commit data...
TODO Loading commit data...
compilation.txt Loading commit data...
edt-user.el Loading commit data...
emacs-buffer.gdb Loading commit data...
emacs.appdata.xml Loading commit data...
emacs.desktop Loading commit data...
emacs.icon Loading commit data...
emacs.service Loading commit data...
enriched.txt Loading commit data...
future-bug Loading commit data...
gnus-tut.txt Loading commit data...
grep.txt Loading commit data...
package-keyring.gpg Loading commit data...
ps-prin0.ps Loading commit data...
ps-prin1.ps Loading commit data...
publicsuffix.txt Loading commit data...
rgb.txt Loading commit data...
ses-example.ses Loading commit data...
spook.lines Loading commit data...
yow.lines Loading commit data...