Function: magit-section-maybe-remove-visibility-indicator

magit-section-maybe-remove-visibility-indicator is a byte-compiled function defined in magit-section.el.

Signature

(magit-section-maybe-remove-visibility-indicator SECTION)

Source Code

;; Defined in ~/.emacs.d/elpa/magit-section-20260330.1102/magit-section.el
(defun magit-section-maybe-remove-visibility-indicator (section)
  (when (and (magit-section-visibility-indicator)
             (= (oref section content)
                (oref section end)))
    (dolist (o (overlays-in (oref section start)
                            (1+ (magit--eol-position (oref section start)))))
      (when (overlay-get o 'magit-vis-indicator)
        (delete-overlay o)))))