forked from colonelpanic/dotfiles
add to list of agenda files instead of resetting them.
This commit is contained in:
parent
21922e152f
commit
7cdf5f5088
@ -795,9 +795,9 @@ the same tree node, and the headline of the tree node in the Org-mode file."
|
||||
(unless (boundp 'org-capture-templates)
|
||||
(defvar org-capture-templates nil))
|
||||
(setq org-agenda-files
|
||||
(--filter (file-exists-p it)
|
||||
(append org-agenda-files (--filter (file-exists-p it)
|
||||
(list org-gtd-file org-habits-file org-projectile:projects-file
|
||||
org-calendar-file)))
|
||||
org-calendar-file))))
|
||||
|
||||
(add-to-list 'org-capture-templates
|
||||
`("g" "GTD Todo" entry (file+headline ,org-gtd-file "Tasks")
|
||||
|
Loading…
Reference in New Issue
Block a user