Function: org-add-props
org-add-props is a byte-compiled function defined in org-macs.el.
Signature
(org-add-props STRING PLIST &rest PROPS)
Documentation
Add text properties to entire string, from beginning to end.
PLIST may be a list of properties, PROPS are individual properties and values that will be added to PLIST. Returns the string that was modified.
Source Code
;; Defined in ~/.emacs.d/elpa/org-9.8.2/org-macs.el
(defun org-add-props (string plist &rest props)
"Add text properties to entire string, from beginning to end.
PLIST may be a list of properties, PROPS are individual properties and values
that will be added to PLIST. Returns the string that was modified."
(declare (indent 2))
(add-text-properties
0 (length string) (if props (append plist props) plist) string)
string)