Function: magit-section--opportunistic-paint
magit-section--opportunistic-paint is a byte-compiled function defined
in magit-section.el.
Signature
(magit-section--opportunistic-paint SECTION)
Source Code
;; Defined in ~/.emacs.d/elpa/magit-section-20260330.1102/magit-section.el
(defun magit-section--opportunistic-paint (section)
(when (and (not (oref section hidden))
(slot-boundp section 'painted))
(if magit--refreshing-buffer-p
;; Defer to `magit-section-update-highlight'.
(unless (oref section painted)
(cl-pushnew section magit-section-highlighted-sections))
(magit-section-update-paint section (magit-focused-sections)))))