Function: magit-section-goto

magit-section-goto is a byte-compiled function defined in magit-section.el.

Signature

(magit-section-goto ARG)

Documentation

Run magit-section-movement-hook.

See info node (magit)Section Movement.

Source Code

;; Defined in ~/.emacs.d/elpa/magit-section-20260330.1102/magit-section.el
(defun magit-section-goto (arg)
  "Run `magit-section-movement-hook'.
See info node `(magit)Section Movement'."
  (cond ((integerp arg)
         (forward-line arg)
         (setq arg (magit-current-section)))
        ((goto-char (oref arg start))))
  (run-hook-with-args 'magit-section-movement-hook arg))