Variable: emacs-lock-locked-buffer-functions
emacs-lock-locked-buffer-functions is a customizable variable defined
in emacs-lock.el.gz.
Value
nil
Documentation
Abnormal hook run when exiting Emacs or killing a buffer.
When exiting Emacs, the hook is run from kill-emacs-query-functions
and from kill-emacs-hook if any buffer has emacs-lock-mode(var)/emacs-lock-mode(fun) turned on.
When killing a buffer, the hook is run if the buffer has emacs-lock-mode(var)/emacs-lock-mode(fun)
turned on.
The functions on this hook are called with one argument, the first (or
only) locked buffer that is found.
This variable was added, or its default value changed, in Emacs 24.3.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lock.el.gz
(defcustom emacs-lock-locked-buffer-functions nil
"Abnormal hook run when exiting Emacs or killing a buffer.
When exiting Emacs, the hook is run from `kill-emacs-query-functions'
and from `kill-emacs-hook' if any buffer has `emacs-lock-mode' turned on.
When killing a buffer, the hook is run if the buffer has `emacs-lock-mode'
turned on.
The functions on this hook are called with one argument, the first (or
only) locked buffer that is found."
:type 'hook
:group 'emacs-lock
:version "24.3")