Function: org-export-get-genealogy
org-export-get-genealogy is a function alias for org-element-lineage,
defined in org-element.el.gz.
This function is obsolete since 9.0; use org-element-lineage
instead.
Signature
(org-export-get-genealogy DATUM &optional TYPES WITH-SELF)
Documentation
List all ancestors of a given element or object.
DATUM is an object or element.
Return ancestors from the closest to the farthest. When optional argument TYPES is a list of symbols, return the first element or object in the lineage whose type belongs to that list instead.
When optional argument WITH-SELF is non-nil, lineage includes DATUM itself as the first element, and TYPES, if provided, also apply to it.
When DATUM is obtained through org-element-context or
org-element-at-point, only ancestors from its section can be
found. There is no such limitation when DATUM belongs to a full
parse tree.
Aliases
org-export-get-genealogy (obsolete since 9.0)