Variable: undelete-frame-mode-hook
undelete-frame-mode-hook is a customizable variable defined in
frame.el.gz.
Value
nil
Documentation
Hook run after entering or leaving undelete-frame-mode(var)/undelete-frame-mode(fun).
No problems result if this variable is not bound.
add-hook automatically binds it. (This is true for all hook variables.)
Source Code
;; Defined in /usr/src/emacs/lisp/frame.el.gz
(define-minor-mode undelete-frame-mode
"Enable the `undelete-frame' command."
:group 'frames
:global t
(if undelete-frame-mode
(add-hook 'delete-frame-functions
#'undelete-frame--save-deleted-frame -75)
(remove-hook 'delete-frame-functions
#'undelete-frame--save-deleted-frame)
(setq undelete-frame--deleted-frames nil)))