Function: magit-section-forward-sibling
magit-section-forward-sibling is an interactive and byte-compiled
function defined in magit-section.el.
Signature
(magit-section-forward-sibling)
Documentation
Move to the beginning of the next sibling section.
If there is no next sibling section, then move to the parent.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/magit-section-20260330.1102/magit-section.el
(defun magit-section-forward-sibling ()
"Move to the beginning of the next sibling section.
If there is no next sibling section, then move to the parent."
(interactive)
(cond-let
[[current (magit-current-section)]]
((not (oref current parent))
(magit-section-goto 1))
([next (car (magit-section-siblings current 'next))]
(magit-section-goto next))
((magit-section-forward))))