From f43b24a5bfbba612dea245f8f5ebccfaefa3dcec Mon Sep 17 00:00:00 2001 From: Jethro Kuan Date: Sat, 17 Apr 2021 14:21:29 +0800 Subject: [PATCH] propertize candidates with 'node --- org-roam.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/org-roam.el b/org-roam.el index a811b11..8b6ecc1 100644 --- a/org-roam.el +++ b/org-roam.el @@ -603,9 +603,10 @@ is the `org-roam-node'." :tags (gethash id tags-table))) (candidate-main (org-roam-node--format-entry node (1- (frame-width)))) (tag-str (org-roam--tags-to-str (org-roam-node-tags node)))) - (cons (concat (propertize tag-str 'invisible t) - candidate-main - (propertize alias 'invisible t)) + (cons (propertize (concat (propertize tag-str 'invisible t) + candidate-main + (propertize alias 'invisible t)) + 'node node) node))))) (defcustom org-roam-node-annotation-function #'org-roam-node--annotation