(fix): adapt find-ref to new format (#646)

master
Leo Vivier 6 years ago committed by GitHub
parent 4b4ebf76c7
commit 265182a698
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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)

Loading…
Cancel
Save