Function: org-entry-remove-from-multivalued-property

org-entry-remove-from-multivalued-property is a byte-compiled function defined in org.el.gz.

Signature

(org-entry-remove-from-multivalued-property EPOM PROPERTY VALUE)

Documentation

Remove VALUE from 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
(defun org-entry-remove-from-multivalued-property (epom property value)
  "Remove VALUE from 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))
    (when (member value values)
      (setq values (delete value values))
      (org-entry-put epom property (mapconcat #'identity values " ")))))