occur-mode-find-occurrence-hook
occur-mode-find-occurrence-hook is a variable defined in `
replace.el
'.
Its value is
(#[nil "\300\301!\205 \302 \207"
[derived-mode-p org-mode org-reveal]
2])
Original value was
- This variable may be risky if used as a file-local variable.
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.
You can customize this variable.