Function: org-roam-link-follow-link

org-roam-link-follow-link is a byte-compiled function defined in org-roam-node.el.

Signature

(org-roam-link-follow-link TITLE-OR-ALIAS)

Documentation

Navigate "roam:" link to find and open the node with TITLE-OR-ALIAS.

Assumes that the cursor was put where the link is.

Source Code

;; Defined in ~/.emacs.d/elpa/org-roam-20260224.1637/org-roam-node.el
(defun org-roam-link-follow-link (title-or-alias)
  "Navigate \"roam:\" link to find and open the node with TITLE-OR-ALIAS.
Assumes that the cursor was put where the link is."
  (if-let* ((node (org-roam-node-from-title-or-alias title-or-alias)))
      (progn
        (when org-roam-link-auto-replace
          (org-roam-link-replace-at-point))
        (org-mark-ring-push)
        (org-roam-node-visit node nil 'force))
    (org-roam-capture-
     :node (org-roam-node-create :title title-or-alias)
     :props '(:finalize find-file))))