mirror of
https://github.com/org-roam/org-roam
synced 2025-08-03 12:27:23 -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))))
|
(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
|
;;; Nodes
|
||||||
;;;; Getters
|
;;;; Getters
|
||||||
(defun org-roam-node-at-point (&optional assert)
|
(defun org-roam-node-at-point (&optional assert)
|
||||||
|
Reference in New Issue
Block a user