Variable: quit-window-hook
quit-window-hook is a customizable variable defined in window.el.gz.
Value
nil
Documentation
Hook run before performing any other actions in the quit-window command.
This variable was added, or its default value changed, in Emacs 27.1.
Probably introduced at or before Emacs version 27.1.
Source Code
;; Defined in /usr/src/emacs/lisp/window.el.gz
(defcustom quit-window-hook nil
"Hook run before performing any other actions in the `quit-window' command."
:type 'hook
:version "27.1"
:group 'windows)