Add calendar file.
This commit is contained in:
parent
eafb9a5de2
commit
fc2ef6ce42
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user