mirror of
https://github.com/org-roam/org-roam
synced 2025-08-01 12:17:21 -05:00
(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.
This commit is contained in:
@ -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))))
|
||||
|
Reference in New Issue
Block a user