mirror of
https://github.com/org-roam/org-roam
synced 2025-08-01 12:17:21 -05:00
(core): add org-roam-node-category (#2300)
This commit is contained in:
@ -210,6 +210,10 @@ This path is relative to `org-roam-directory'."
|
||||
(_
|
||||
(org-roam-node-title node))))
|
||||
|
||||
(cl-defmethod org-roam-node-category ((node org-roam-node))
|
||||
"Return the category for NODE."
|
||||
(cdr (assoc-string "CATEGORY" (org-roam-node-properties node))))
|
||||
|
||||
;;; Nodes
|
||||
;;;; Getters
|
||||
(defun org-roam-node-at-point (&optional assert)
|
||||
|
Reference in New Issue
Block a user