Function: outline-backward-same-level
outline-backward-same-level is an interactive and byte-compiled
function defined in outline.el.gz.
Signature
(outline-backward-same-level ARG)
Documentation
Move backward to the ARG'th subheading at same level as this one.
Stop at the first and last subheadings of a superior heading.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/outline.el.gz
(defun outline-backward-same-level (arg)
"Move backward to the ARG'th subheading at same level as this one.
Stop at the first and last subheadings of a superior heading."
(interactive "p")
(outline-back-to-heading)
(while (> arg 0)
(let ((point-to-move-to (save-excursion
(outline-get-last-sibling))))
(if point-to-move-to
(progn
(goto-char point-to-move-to)
(setq arg (1- arg)))
(progn
(setq arg 0)
(error "No previous same-level heading"))))))