Function: hyrolo-outline-backward-same-level
hyrolo-outline-backward-same-level is an interactive and byte-compiled
function defined in hyrolo.el.
Signature
(hyrolo-outline-backward-same-level ARG)
Documentation
Move backward to the ARG'th subheading at same level as point.
Return t if point moves; nil otherwise.
File headers and end of buffer are considered level 1. Stop before the first and last subheadings of a superior heading. If any predecessor 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-backward-same-level (arg)
"Move backward to the ARG'th subheading at same level as point.
Return t if point moves; nil otherwise.
File headers and end of buffer are considered level 1. Stop before the
first and last subheadings of a superior heading. If any predecessor
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-forward-same-level (- arg)))
((zerop arg)
nil)
(t (let ((opoint (point))
found
point-to-move-to)
(hyrolo-funcall-match
(lambda ()
(or (hyrolo-hdr-to-first-line-p)
(outline-back-to-heading))
(while (> arg 0)
(if (setq point-to-move-to (save-excursion
(hyrolo-outline-get-last-sibling)))
(progn
(setq found t)
(goto-char point-to-move-to)
(setq arg (1- arg)))
(setq arg 0)))
(unless found
(goto-char opoint)
(error "No previous same-level heading/header")))
nil t)
found))))