Function: outline-get-next-sibling
outline-get-next-sibling is a byte-compiled function defined in
outline.el.gz.
Signature
(outline-get-next-sibling)
Documentation
Move to next heading of the same level, and return point.
If there is no such heading, return nil.
Source Code
;; Defined in /usr/src/emacs/lisp/outline.el.gz
(defun outline-get-next-sibling ()
"Move to next heading of the same level, and return point.
If there is no such heading, return nil."
(let ((level (funcall outline-level)))
(outline-next-visible-heading 1)
(while (and (not (eobp)) (> (funcall outline-level) level))
(outline-next-visible-heading 1))
(if (or (eobp) (< (funcall outline-level) level))
nil
(point))))