Variable: buffer-quit-function
buffer-quit-function is a variable defined in simple.el.gz.
Value
nil
Documentation
Function to call to "quit" the current buffer, or nil if none.
M-ESC ESC (keyboard-escape-quit) calls this function when its more local actions
(such as canceling a prefix argument, minibuffer or region) do not apply.
Source Code
;; Defined in /usr/src/emacs/lisp/simple.el.gz
(defvar buffer-quit-function nil
"Function to call to \"quit\" the current buffer, or nil if none.
\\[keyboard-escape-quit] calls this function when its more local actions
\(such as canceling a prefix argument, minibuffer or region) do not apply.")