* lisp/emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
authorJuanma Barranquero <lekktu@gmail.com>
Sat, 14 Apr 2012 03:11:18 +0000 (05:11 +0200)
committerJuanma Barranquero <lekktu@gmail.com>
Sat, 14 Apr 2012 03:11:18 +0000 (05:11 +0200)
commitd5e6342ed5e408014019c478ce16a47a2aad418b
treea788615f61d7944aecadbaafcc2f883a2cb6ef0f
parentab036cd7bdd7b087047d241ffb5607d14942179e
* lisp/emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
  (emacs-lock--exit-locked-buffer): Return the locked buffer.  Doc fix.
  (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
  (emacs-lock--kill-buffer-query-functions): Run new hook.

Fixes: debbugs:11017
lisp/ChangeLog
lisp/emacs-lock.el