(fix): adapt find-ref to new format (#646)
This commit is contained in:
parent
4b4ebf76c7
commit
265182a698
1 changed files with 1 additions and 1 deletions
|
@ -735,7 +735,7 @@ REF should be the value of '#+ROAM_KEY:' without any
|
||||||
type-information (e.g. 'cite:').
|
type-information (e.g. 'cite:').
|
||||||
Return nil if the file does not exist."
|
Return nil if the file does not exist."
|
||||||
(when-let* ((completions (org-roam--get-ref-path-completions))
|
(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)))
|
(find-file file)))
|
||||||
|
|
||||||
(defun org-roam-find-ref (arg &optional filter)
|
(defun org-roam-find-ref (arg &optional filter)
|
||||||
|
|
Loading…
Reference in a new issue