]> git.eshelyaron.com Git - emacs.git/commit
Add a new hook: `quit-window-hook'
authorLars Ingebrigtsen <larsi@gnus.org>
Tue, 20 Aug 2019 02:21:53 +0000 (19:21 -0700)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 20 Aug 2019 02:21:53 +0000 (19:21 -0700)
commitafdf679841ad31664d41e7debca7083632add0f8
treeb48578fd132805405977b812c0b17fd09044c1ac
parent221a3272ad4a1befb41dda2990d672782bc0257f
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.
doc/lispref/windows.texi
etc/NEWS
lisp/window.el