Function: org-no-properties

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

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 ~/.emacs.d/elpa/org-9.8.2/org-macs.el
(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)