Function: magit-section-at

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

Signature

(magit-section-at &optional POSITION)

Documentation

Return the section at POSITION, defaulting to point.

Source Code

;; Defined in ~/.emacs.d/elpa/magit-section-20260330.1102/magit-section.el
(defun magit-section-at (&optional position)
  "Return the section at POSITION, defaulting to point."
  (get-text-property (or position (point)) 'magit-section))