Function: org-roam-plist-map!
org-roam-plist-map! is a byte-compiled function defined in
org-roam-utils.el.
Signature
(org-roam-plist-map! FN PLIST)
Documentation
Map FN over PLIST, modifying it in-place and returning it.
FN must take two arguments: the key and the value.
Source Code
;; Defined in ~/.emacs.d/elpa/org-roam-20260224.1637/org-roam-utils.el
;;; List utilities
(defun org-roam-plist-map! (fn plist)
"Map FN over PLIST, modifying it in-place and returning it.
FN must take two arguments: the key and the value."
(let ((plist-index plist))
(while plist-index
(let ((key (pop plist-index)))
(setf (car plist-index) (funcall fn key (car plist-index))
plist-index (cdr plist-index)))))
plist)