mirror of
https://github.com/org-roam/org-roam
synced 2025-08-01 12:17:21 -05:00
remove annotation function
This commit is contained in:
15
org-roam.el
15
org-roam.el
@ -626,12 +626,15 @@ If REQUIRE-MATCH, require returning a match."
|
||||
(or (cdr (assoc node nodes))
|
||||
(org-roam-node-create :title node))))
|
||||
|
||||
(defun org-roam-node--annotation (node-title)
|
||||
"Return the annotation string for a NODE-TITLE."
|
||||
(let* ((node (get-text-property 0 'node node-title))
|
||||
(tags (org-roam-node-tags node)))
|
||||
(when tags
|
||||
(format " (%s)" (string-join tags ", ")))))
|
||||
(defun org-roam-node--annotation (_node-title)
|
||||
"?"
|
||||
;; TODO: think about what to do with this
|
||||
""
|
||||
;; (let* ((node (get-text-property 0 'node node-title))
|
||||
;; (tags (org-roam-node-tags node)))
|
||||
;; (when tags
|
||||
;; (format " (%s)" (string-join tags ", "))))
|
||||
)
|
||||
|
||||
(defun org-roam-preview-visit (file point &optional other-window)
|
||||
"Visit FILE at POINT.
|
||||
|
Reference in New Issue
Block a user