Function: magit-section-match-assoc

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

Signature

(magit-section-match-assoc SECTION ALIST)

Documentation

Return the value associated with SECTION's type or lineage in ALIST.

Source Code

;; Defined in ~/.emacs.d/elpa/magit-section-20260330.1102/magit-section.el
(defun magit-section-match-assoc (section alist)
  "Return the value associated with SECTION's type or lineage in ALIST."
  (seq-some (pcase-lambda (`(,key . ,val))
              (and (magit-section-match-1 key section) val))
            alist))