Function: magit-section-up

magit-section-up is an interactive and byte-compiled function defined in magit-section.el.

Signature

(magit-section-up)

Documentation

Move to the beginning of the parent section.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/magit-section-20260330.1102/magit-section.el
(defun magit-section-up ()
  "Move to the beginning of the parent section."
  (interactive)
  (if-let ((parent (oref (magit-current-section) parent)))
      (magit-section-goto parent)
    (user-error "No parent section")))