Function: org-element-restriction

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

Signature

(org-element-restriction ELEMENT)

Documentation

Return restriction associated to ELEMENT.

ELEMENT can be an element, an object or a symbol representing an element or object type.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-element.el.gz
(defsubst org-element-restriction (element)
  "Return restriction associated to ELEMENT.
ELEMENT can be an element, an object or a symbol representing an
element or object type."
  (cdr (assq (if (symbolp element) element (org-element-type element))
	     org-element-object-restrictions)))