Function: magit-section-lineage

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

Signature

(magit-section-lineage SECTION &optional RAW)

Documentation

Return the lineage of SECTION.

If optional RAW is non-nil, return a list of section objects, beginning with SECTION, otherwise return a list of section types.

Source Code

;; Defined in ~/.emacs.d/elpa/magit-section-20260330.1102/magit-section.el
(defun magit-section-lineage (section &optional raw)
  "Return the lineage of SECTION.
If optional RAW is non-nil, return a list of section objects, beginning
with SECTION, otherwise return a list of section types."
  (cons (if raw section (oref section type))
        (and$ (oref section parent)
              (magit-section-lineage $ raw))))