Variable: occur-mode-find-occurrence-hook

occur-mode-find-occurrence-hook is a customizable variable defined in replace.el.gz.

Value

(#[0 "\300\301!\205�\302 \207"
    [derived-mode-p org-mode org-fold-reveal]
    2])

Documentation

Hook run by Occur after locating an occurrence.

This will be called with the cursor position at the occurrence. An application for this is to reveal context in an outline mode when the occurrence is hidden.

Source Code

;; Defined in /usr/src/emacs/lisp/replace.el.gz
(defcustom occur-mode-find-occurrence-hook nil
  "Hook run by Occur after locating an occurrence.
This will be called with the cursor position at the occurrence.  An application
for this is to reveal context in an outline mode when the occurrence is hidden."
  :type 'hook
  :group 'matching)