Function: magit-section-highlight-selection
magit-section-highlight-selection is a byte-compiled function defined
in magit-section.el.
Signature
(magit-section-highlight-selection SELECTION)
Source Code
;; Defined in ~/.emacs.d/elpa/magit-section-20260330.1102/magit-section.el
(defun magit-section-highlight-selection (selection)
(when magit-section-highlight-selection
(dolist (sibling selection)
(with-slots (start content end heading-selection-face) sibling
(let ((ov (make-overlay start (or content end) nil t)))
(overlay-put ov 'font-lock-face
(or heading-selection-face
'magit-section-heading-selection))
(overlay-put ov 'evaporate t)
(overlay-put ov 'priority '(nil . 9))
(push ov magit-section-selection-overlays)
ov)))))