Function: org-element-create

org-element-create is a byte-compiled function defined in org-element.el.gz.

Signature

(org-element-create TYPE &optional PROPS &rest CHILDREN)

Documentation

Create a new element of type TYPE.

Optional argument PROPS, when non-nil, is a plist defining the properties of the element. CHILDREN can be elements, objects or strings.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-element.el.gz
(defun org-element-create (type &optional props &rest children)
  "Create a new element of type TYPE.
Optional argument PROPS, when non-nil, is a plist defining the
properties of the element.  CHILDREN can be elements, objects or
strings."
  (apply #'org-element-adopt-elements (list type props) children))