spacemacs org-projectile-capture-for-current-project error

在某个项目中使用SPC-a-o-p 报错

org-projectile-capture-for-current-project: Keyword argument nil not one of (:capture-template) [3 times]

我的配置为:

(defun dotspacemacs/layer() (setq-default dotspacemacs-configuration-layer '( (org :variables org-projectile-file “~/Documents/Orgs/gdt.org” ) ) ) ) (defun dotspacemacs/user-config() (with-eval-after-load 'org (defvar org-agenda-dir “” “gtd org file location”) (setq-default org-agenda-dir “~/Documents/Orgs”) (setq org-agenda-file-note (expand-file-name “note.org” org-agenda-dir)) (setq org-agenda-file-gdt (expand-file-name “gdt.org” org-agenda-dir)) (setq org-default-notes-file (expand-file-name “gdt.org” org-agenda-dir)) (setq org-agenda-files (list org-agenda-dir)) )

(setq org-capture-templates '((“t” “Todo” entry (file+headline org-agenda-file-gdt “Work List”) “* TODO [#B] %?\n %i\n” :empty-lines 1) (“n” “notes” entry (file+headline org-agenda-file-note “Quick notes”) “* %?\n %i\n %U” :empty-lines 1) )) (setq org-todo-keywords '((sequence “TODO(t)” “AT ONCE(a)” “LATER(t)” “|” “DONE(d)” “CANCELED([email protected]/!)”) ))

(with-eval-after-load 'org-projectile (push (org-projectile-project-todo-entry) org-capture-templates))

(with-eval-after-load 'org-agenda (require 'org-projectile) (push (org-projectile:todo-files) org-agenda-files)) )