From 624ac77fe2bb5db8711744a5a614d536e8a36528 Mon Sep 17 00:00:00 2001 From: Jethro Kuan Date: Thu, 15 Apr 2021 20:22:04 +0800 Subject: [PATCH] remove annotation function --- org-roam.el | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/org-roam.el b/org-roam.el index 1744169..4f193c9 100644 --- a/org-roam.el +++ b/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.