(internal): remove with-template-error wrapper (#1004)

This has caused more confusion than it has helped.
This commit is contained in:
Jethro Kuan
2020-08-06 10:51:24 +08:00
committed by GitHub
parent da6fdd7542
commit 444eedc799
4 changed files with 4 additions and 21 deletions

View File

@@ -62,8 +62,7 @@ It opens or creates a note with the given ref.
(org-roam-capture--info decoded-alist)
(template (cdr (assoc 'template decoded-alist))))
(raise-frame)
(org-roam--with-template-error 'org-roam-capture-ref-templates
(org-roam-capture--capture nil template))
(org-roam-capture--capture nil template)
(org-roam-message "Item captured.")))
nil)