Function: org-entry-add-to-multivalued-property
org-entry-add-to-multivalued-property is a byte-compiled function
defined in org.el.gz.
Signature
(org-entry-add-to-multivalued-property EPOM PROPERTY VALUE)
Documentation
Add VALUE to the words in the PROPERTY in entry at EPOM.
EPOM is an element, marker, or buffer position.
Source Code
;; Defined in /usr/src/emacs/lisp/org/org.el.gz
;; Multi-values properties are properties that contain multiple values
;; These values are assumed to be single words, separated by whitespace.
(defun org-entry-add-to-multivalued-property (epom property value)
"Add VALUE to the words in the PROPERTY in entry at EPOM.
EPOM is an element, marker, or buffer position."
(let* ((old (org-entry-get epom property))
(values (and old (split-string old))))
(setq value (org-entry-protect-space value))
(unless (member value values)
(setq values (append values (list value)))
(org-entry-put epom property (mapconcat #'identity values " ")))))