]> git.eshelyaron.com Git - emacs.git/commit
Call `quit-window-hook' in the `quit-window' command only
authorLars Ingebrigtsen <larsi@gnus.org>
Wed, 21 Aug 2019 20:18:47 +0000 (13:18 -0700)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 21 Aug 2019 20:18:47 +0000 (13:18 -0700)
commit2e8bbd5881d8851f19c8eb0b60def932d69b4dbc
tree2b6bf0d376d5810715a22d2cb256f3da5add9611
parent6224fce0d4168fb217175a2c9e40409a0055e436
Call `quit-window-hook' in the `quit-window' command only

* lisp/window.el (quit-restore-window): Don't run quit-window-hook
here...
(quit-window): ... but here instead.  Callers that call the former
programmatically can decide themselves whether to call the hook.
(quit-window-hook): Fix doc string.
lisp/window.el