Function: hyrolo-outline-forward-same-level
hyrolo-outline-forward-same-level is an interactive and byte-compiled
function defined in hyrolo.el.
Signature
(hyrolo-outline-forward-same-level ARG)
Documentation
Move forward to the positive ARG'th subheading at same level as point.
File headers are considered level 1. Stop before the first and last subheadings of a superior heading. If any siblings are found, leave point at the start of the furthest entry entered; otherwise, don't move point.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hyrolo.el
(defun hyrolo-outline-forward-same-level (arg)
"Move forward to the positive ARG'th subheading at same level as point.
File headers are considered level 1. Stop before the first and last
subheadings of a superior heading. If any siblings are found, leave point
at the start of the furthest entry entered; otherwise, don't move point."
(interactive "p")
(unless arg
(setq arg 1))
(cond ((< arg 0)
(hyrolo-outline-backward-same-level (- arg)))
((zerop arg)
nil)
(t (let ((opoint (point))
found
point-to-move-to)
(hyrolo-funcall-match
(lambda ()
(outline-back-to-heading)
(while (> arg 0)
(if (setq point-to-move-to (save-excursion
(hyrolo-outline-get-next-sibling)))
(progn
(setq found t)
(goto-char point-to-move-to)
(setq arg (1- arg)))
;; If on last entry of the buffer, move to (point-max)
(setq arg 0)))
(unless found
(goto-char opoint)
(error "No following same-level heading/header"))))
found))))