Function: magit-section-hidden

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

Signature

(magit-section-hidden SECTION)

Documentation

Return t if the content of SECTION or of any ancestor is hidden.

Ignore whether the body of any of SECTION's descendants is hidden. When the status of descendants is irrelevant but that of ancestors matters, instead use magit-section-hidden-body.

Aliases

magit-section-invisible-p

Source Code

;; Defined in ~/.emacs.d/elpa/magit-section-20260330.1102/magit-section.el
(defun magit-section-hidden (section)
  "Return t if the content of SECTION or of any ancestor is hidden.
Ignore whether the body of any of SECTION's descendants is hidden.
When the status of descendants is irrelevant but that of ancestors
matters, instead use `magit-section-hidden-body'."
  (or (oref section hidden)
      (and$ (oref section parent)
            (magit-section-hidden $))))