Variable: moccur-mode-hook
moccur-mode-hook is a variable defined in hmoccur.el.
Value
nil
Documentation
Hook run after entering Moccur mode.
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 ~/.emacs.d/elpa/hyperbole-20260414.325/hmoccur.el
(define-derived-mode moccur-mode special-mode "Moccur"
"Major mode for output from \\[moccur].
\\<moccur-mode-map>Move point to one of the items in this buffer, then use
\\[moccur-to] to go to the occurrence on the current line.
\\[moccur-mode-display-occurrence] displays but does not select the occurrence.
\\{moccur-mode-map}"
(kill-all-local-variables)
(use-local-map moccur-mode-map)
(setq major-mode 'moccur-mode)
(setq mode-name "Moccur"))