Function: org-element-properties-mapc

org-element-properties-mapc is a byte-compiled function defined in org-element-ast.el.gz.

Signature

(org-element-properties-mapc FUN NODE &optional UNDEFER)

Documentation

Apply FUN for each property of NODE for side effect.

FUN will be called with three arguments: property name, property value, and node. If FUN accepts only 2 arguments, it will be called with two arguments: property name and property value. If FUN accepts only a single argument, it will be called with a single argument - property value.

When UNDEFER is non-nil, undefer deferred properties. When UNDEFER is symbol force, unconditionally replace the property values with undeferred values.

Return nil.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-element-ast.el.gz
(defsubst org-element-properties-mapc (fun node &optional undefer)
  "Apply FUN for each property of NODE for side effect.
FUN will be called with three arguments: property name, property
value, and node.  If FUN accepts only 2 arguments, it will be called
with two arguments: property name and property value.  If FUN accepts
only a single argument, it will be called with a single argument -
property value.

When UNDEFER is non-nil, undefer deferred properties.
When UNDEFER is symbol `force', unconditionally replace the property
values with undeferred values.

Return nil."
  (when undefer
    (org-element-properties-resolve node (eq 'force undefer)))
  (org-element--properties-mapc fun node))