Function: org-roam-property-add
org-roam-property-add is a byte-compiled function defined in
org-roam-utils.el.
Signature
(org-roam-property-add PROP VAL)
Documentation
Add VAL value to PROP property for the node at point.
Both, VAL and PROP are strings.
Source Code
;; Defined in ~/.emacs.d/elpa/org-roam-20260224.1637/org-roam-utils.el
(defun org-roam-property-add (prop val)
"Add VAL value to PROP property for the node at point.
Both, VAL and PROP are strings."
(let* ((p (org-entry-get (point) prop))
(lst (when p (split-string-and-unquote p)))
(lst (if (memq val lst) lst (cons val lst)))
(lst (seq-uniq lst)))
(org-set-property prop (combine-and-quote-strings lst))
val))