diff --git a/org-roam-capture.el b/org-roam-capture.el index c2eb653..a720d38 100644 --- a/org-roam-capture.el +++ b/org-roam-capture.el @@ -538,7 +538,7 @@ This function is used solely in Org-roam's capture templates: see (org-roam-capture--new-file)) ('ref (if-let ((ref (cdr (assoc 'ref org-roam-capture--info)))) - (pcase (org-roam--split-ref ) + (pcase (org-roam--split-ref ref) (`(,type . ,path) (or (org-roam-capture--get-ref-path type path) (org-roam-capture--new-file)))