Variable: visible-mode-hook
visible-mode-hook is a customizable variable defined in simple.el.gz.
Value
nil
Documentation
Hook run after entering or leaving visible-mode(var)/visible-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/simple.el.gz
(define-minor-mode visible-mode
"Toggle making all invisible text temporarily visible (Visible mode).
This mode works by saving the value of `buffer-invisibility-spec'
and setting it to nil."
:lighter " Vis"
:group 'editing-basics
(when (local-variable-p 'vis-mode-saved-buffer-invisibility-spec)
(setq buffer-invisibility-spec vis-mode-saved-buffer-invisibility-spec)
(kill-local-variable 'vis-mode-saved-buffer-invisibility-spec))
(when visible-mode
(setq-local vis-mode-saved-buffer-invisibility-spec
buffer-invisibility-spec)
(setq buffer-invisibility-spec nil)))