Function: magit-diff-expansion-threshold
magit-diff-expansion-threshold is a byte-compiled function defined in
magit-diff.el.
Signature
(magit-diff-expansion-threshold SECTION)
Documentation
Keep new diff sections collapsed if washing takes too long.
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-diff.el
(defun magit-diff-expansion-threshold (section)
"Keep new diff sections collapsed if washing takes too long."
(and (magit-file-section-p section)
(> (float-time (time-since magit--refresh-start-time))
magit-diff-expansion-threshold)
'hide))