From 7cdf5f508897d8f1a505371a869d277c70f9381d Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 5 Feb 2015 14:11:30 -0800 Subject: [PATCH] add to list of agenda files instead of resetting them. --- dotfiles/emacs.d/init.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dotfiles/emacs.d/init.el b/dotfiles/emacs.d/init.el index 4d3ae615..3609ea21 100644 --- a/dotfiles/emacs.d/init.el +++ b/dotfiles/emacs.d/init.el @@ -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")