(chore)utils: standardize org-roam-property-add/remove fn signatures (#1930)

This commit is contained in:
Jethro Kuan
2021-10-30 16:21:43 +08:00
committed by GitHub
parent 1b221a1d4a
commit c789531e36
3 changed files with 34 additions and 2 deletions

View File

@@ -1009,7 +1009,7 @@ and when nil is returned the node will be filtered out."
(let ((node (org-roam-node-at-point 'assert)))
(save-excursion
(goto-char (org-roam-node-point node))
(org-roam-add-property ref "ROAM_REFS"))))
(org-roam-property-add "ROAM_REFS" ref))))
(defun org-roam-ref-remove (&optional ref)
"Remove a REF from the node at point."
@@ -1017,7 +1017,7 @@ and when nil is returned the node will be filtered out."
(let ((node (org-roam-node-at-point 'assert)))
(save-excursion
(goto-char (org-roam-node-point node))
(org-roam-remove-property "ROAM_REFS" ref))))
(org-roam-property-remove "ROAM_REFS" ref))))
;;; Tags
;;;; Getters