(refactor)org-roam-link: use org-roam-node-visit to follow the links

No need to get through org-id-goto, which would query to
org-id-locations instead of our own database.
master
Wetlize 5 years ago
parent 3c59c7d74e
commit 8a21131d9f
  1. 3
      org-roam-node.el

@ -609,7 +609,8 @@ Assumes that the cursor was put where the link is."
(progn
(when org-roam-link-auto-replace
(org-roam-link-replace-at-point))
(org-id-goto (org-roam-node-id node)))
(org-mark-ring-push)
(org-roam-node-visit node))
(org-roam-capture-
:node (org-roam-node-create :title title-or-alias)
:props '(:finalize find-file))))

Loading…
Cancel
Save