Variable: org-occur-hook
org-occur-hook is a customizable variable defined in org.el.gz.
Value
(org-first-headline-recenter)
Documentation
Hook that is run after org-occur has constructed a sparse tree.
This can be used to recenter the window to show as much of the structure as possible.
Source Code
;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defcustom org-occur-hook '(org-first-headline-recenter)
"Hook that is run after `org-occur' has constructed a sparse tree.
This can be used to recenter the window to show as much of the structure
as possible."
:group 'org-sparse-trees
:type 'hook)