Function: org-back-to-heading-or-point-min
org-back-to-heading-or-point-min is a byte-compiled function defined
in org.el.gz.
Signature
(org-back-to-heading-or-point-min &optional INVISIBLE-OK)
Documentation
Go back to heading or first point in buffer.
If point is before first heading go to first point in buffer instead of back to heading.
Source Code
;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defun org-back-to-heading-or-point-min (&optional invisible-ok)
"Go back to heading or first point in buffer.
If point is before first heading go to first point in buffer
instead of back to heading."
(if (org-before-first-heading-p)
(goto-char (point-min))
(org-back-to-heading invisible-ok)))