diff --git a/org-roam.el b/org-roam.el index 8111a263e6..b2d786d8ee 100644 --- a/org-roam.el +++ b/org-roam.el @@ -735,7 +735,7 @@ REF should be the value of '#+ROAM_KEY:' without any type-information (e.g. 'cite:'). Return nil if the file does not exist." (when-let* ((completions (org-roam--get-ref-path-completions)) - (file (cdr (assoc ref completions)))) + (file (plist-get (cdr (assoc ref completions)) :path))) (find-file file))) (defun org-roam-find-ref (arg &optional filter)