Function: org-element-adopt-elements

org-element-adopt-elements is a function alias for org-element-adopt, defined in org-element-ast.el.gz.

Signature

(org-element-adopt-elements PARENT &rest CHILDREN)

Documentation

Append CHILDREN to the contents of PARENT.

PARENT is a syntax node. CHILDREN can be elements, objects, or strings.

If PARENT is nil, create a new anonymous node containing CHILDREN.

The function takes care of setting :parent property for each child. Return the modified PARENT.

Aliases

org-element-adopt-elements