diff --git a/org-roam-capture.el b/org-roam-capture.el index 20ca61f..c713355 100644 --- a/org-roam-capture.el +++ b/org-roam-capture.el @@ -51,12 +51,12 @@ during the Org-roam capture process.") "Keywords used in `org-roam-capture-templates' specific to Org-roam.") (defcustom org-roam-capture-templates - '((:key "d" - :desc "default" - :body "%?" - :file-path "%<%Y%m%d%H%M%S>-${slug}.org" - :head "#+title: ${title}\n" - :unnarrowed t)) + (list (list :key "d" + :desc "default" + :body "%?" + :file-path "%<%Y%m%d%H%M%S>-${slug}.org" + :head "#+title: ${title}\n" + :unnarrowed t)) "Capture templates for Org-roam. TODO: Document this" @@ -65,12 +65,12 @@ TODO: Document this" ) (defcustom org-roam-capture-ref-templates - '((:key "r" - :desc "ref" - :body "%?" - :file-path "${slug}.org" - :head "#+title: ${title}\n#+roam_key: ${ref}" ;TODO: auto insert ref instead - :unnarrowed t)) + '(list (list :key "r" + :desc "ref" + :body "%?" + :file-path "${slug}.org" + :head "#+title: ${title}\n#+roam_key: ${ref}" ;TODO: auto insert ref instead + :unnarrowed t)) "The Org-roam templates used during a capture from the roam-ref protocol. Details on how to specify for the template is given in `org-roam-capture-templates'." :group 'org-roam diff --git a/org-roam-dailies.el b/org-roam-dailies.el index 1ebc3a3..0a4f09d 100644 --- a/org-roam-dailies.el +++ b/org-roam-dailies.el @@ -61,11 +61,11 @@ :type 'hook) (defcustom org-roam-dailies-capture-templates - '((:key "d" - :desc "default" - :body "* %?" - :file-path ,(concat org-roam-dailies-directory "%<%Y-%m-%d>") - :head "#+title: %<%Y-%m-%d>\n")) + (list (list :key "d" + :desc "default" + :body "* %?" + :file-path ,(concat org-roam-dailies-directory "%<%Y-%m-%d>") + :head "#+title: %<%Y-%m-%d>\n")) "Capture templates for daily-notes in Org-roam." :group 'org-roam :type