aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorLars Ingebrigtsen2019-08-19 19:21:53 -0700
committerLars Ingebrigtsen2019-08-19 19:21:53 -0700
commitafdf679841ad31664d41e7debca7083632add0f8 (patch)
treeb48578fd132805405977b812c0b17fd09044c1ac /etc
parent221a3272ad4a1befb41dda2990d672782bc0257f (diff)
downloademacs-afdf679841ad31664d41e7debca7083632add0f8.tar.gz
emacs-afdf679841ad31664d41e7debca7083632add0f8.zip
Add a new hook: `quit-window-hook'
* doc/lispref/windows.texi (Quitting Windows): Mention in. * lisp/window.el (quit-restore-window): Run the new `quit-window-hook' before doing anything else (bug#9867). (quit-window): Note that the hook will be run in the doc string. * lisp/window.el (quit-window-hook): New variable.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 23bf2b898a9..1737f8f18fe 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -2024,6 +2024,10 @@ valid event type.
2024 2024
2025* Lisp Changes in Emacs 27.1 2025* Lisp Changes in Emacs 27.1
2026 2026
2027+++
2028** The new 'quit-window-hook' is now run first when executing the
2029'quit-window' command.
2030
2027** The variables 'help-enable-completion-auto-load', 2031** The variables 'help-enable-completion-auto-load',
2028'help-enable-auto-load' and 'vhdl-project-auto-load', as well as the 2032'help-enable-auto-load' and 'vhdl-project-auto-load', as well as the
2029'vhdl-auto-load-project' have been renamed to have "autoload" without 2033'vhdl-auto-load-project' have been renamed to have "autoload" without