(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

@ -104,8 +104,7 @@ Template string :\n%v")
(org-roam-capture--info (list (cons 'time time)))
(org-roam-capture--context 'dailies))
(setq org-roam-capture-additional-template-props (list :finalize 'find-file))
(org-roam--with-template-error 'org-roam-dailies-capture-templates
(org-roam-capture--capture))))
(org-roam-capture--capture)))
(defun org-roam-dailies-today ()
"Create and find the daily note for today."