Function: hyrolo-outline-get-next-sibling
hyrolo-outline-get-next-sibling is a byte-compiled function defined in
hyrolo.el.
Signature
(hyrolo-outline-get-next-sibling)
Documentation
Move to next heading/header of the same level, and return point.
If there is no such heading/header, do not move and return nil.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hyrolo.el
(defun hyrolo-outline-get-next-sibling ()
"Move to next heading/header of the same level, and return point.
If there is no such heading/header, do not move and return nil."
(let ((opoint (point))
(level (funcall outline-level)))
(hyrolo-outline-next-visible-heading 1)
(while (and (not (eobp)) (> (funcall outline-level) level))
(hyrolo-outline-next-visible-heading 1))
(if (or (eobp) (< (funcall outline-level) level))
(progn (goto-char opoint) nil)
(point))))