fix org-enforce-todo-dependencies (its not a function, but a variable)

This commit is contained in:
Ivan Malison 2014-12-05 12:15:51 -08:00
parent 39685ffcd4
commit 3c493a8d7f

View File

@ -600,7 +600,7 @@ The current directory is assumed to be the project's root otherwise."
(unless (boundp 'org-capture-templates) (unless (boundp 'org-capture-templates)
(defvar org-capture-templates nil)) (defvar org-capture-templates nil))
(setq org-completion-use-ido t) (setq org-completion-use-ido t)
(org-enforce-todo-dependencies t) (setq org-enforce-todo-dependencies t)
(setq org-agenda-files (list org-gtd-file org-habits-file org-projects-file)) (setq org-agenda-files (list org-gtd-file org-habits-file org-projects-file))
(add-to-list 'org-capture-templates (add-to-list 'org-capture-templates
`("h" "Habit" entry (file+headline ,org-habits-file "Habits") `("h" "Habit" entry (file+headline ,org-habits-file "Habits")