diff --git a/org-roam.el b/org-roam.el index 10c06d3..424c70c 100644 --- a/org-roam.el +++ b/org-roam.el @@ -736,7 +736,8 @@ included as a candidate." (ref (org-roam-completion--completing-read "Ref: " completions :require-match t)) - (file (cdr (assoc ref completions)))) + (file (-> (gethash ref completions) + (plist-get :path)))) (find-file file))) (defun org-roam--get-roam-buffers ()