From fc2ef6ce424c8361c4fc08044650b5e792754620 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sun, 14 Dec 2014 01:49:14 -0800 Subject: [PATCH] Add calendar file. --- dotfiles/emacs.d/init.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dotfiles/emacs.d/init.el b/dotfiles/emacs.d/init.el index acbf8057..7291d8bd 100644 --- a/dotfiles/emacs.d/init.el +++ b/dotfiles/emacs.d/init.el @@ -622,9 +622,12 @@ The current directory is assumed to be the project's root otherwise." (defvar org-habits-file "~/org/habits.org")) (unless (boundp 'org-capture-templates) (defvar org-capture-templates nil)) + (unless (boundp 'org-calendar-file) + (defvar org-calendar-file "~/org/calendar.org")) (setq org-agenda-files (--filter (file-exists-p it) - (list org-gtd-file org-habits-file org-projectile:projects-file))) + (list org-gtd-file org-habits-file org-projectile:projects-file + org-calendar-file))) (add-to-list 'org-capture-templates `("h" "Habit" entry (file+headline ,org-habits-file "Habits")