Function: org-no-properties

org-no-properties is a byte-compiled function defined in org-macs.el.gz.

Signature

(org-no-properties S &optional RESTRICTED)

Documentation

Remove all text properties from string S.

When RESTRICTED is non-nil, only remove the properties listed in org-rm-props.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-macs.el.gz
(defsubst org-no-properties (s &optional restricted)
  "Remove all text properties from string S.
When RESTRICTED is non-nil, only remove the properties listed
in `org-rm-props'."
  (if restricted (remove-text-properties 0 (length s) org-rm-props s)
    (set-text-properties 0 (length s) nil s))
  s)