(fix): fix org-roam-capture--get-point (#1376)

This commit is contained in:
Jethro Kuan
2021-01-11 19:38:02 +08:00
committed by GitHub
parent 3fb4e21adf
commit 05a9bc44f2

View File

@ -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)))