Skip to content

Commit

Permalink
(fix): adapt find-ref to new format (#646)
Browse files Browse the repository at this point in the history
  • Loading branch information
zaeph committed May 16, 2020
1 parent 4b4ebf7 commit 265182a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion org-roam.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 265182a

Please sign in to comment.