You can’t just exit the if statement

master
trémeur 2 years ago
parent f069ecdbb4
commit 7ea81c4fb0

@ -601,7 +601,13 @@ Set the files to be included.
(if (> (string-to-number (format-time-string "%H")) 7) (if (> (string-to-number (format-time-string "%H")) 7)
(progn (progn
(add-to-list 'org-agenda-files "~/Documents/drive/org/calendar/work.org") (add-to-list 'org-agenda-files "~/Documents/drive/org/calendar/work.org")
(add-to-list 'org-agenda-files "~/Documents/drive/org/calendar/acwri.org")))) (add-to-list 'org-agenda-files "~/Documents/drive/org/calendar/acwri.org"))
(progn
(add-to-list 'org-agenda-files "~/Documents/drive/org/calendar/personal.org")
(add-to-list 'org-agenda-files "~/Documents/drive/org/calendar/habit.org")))
(progn
(add-to-list 'org-agenda-files "~/Documents/drive/org/calendar/personal.org")
(add-to-list 'org-agenda-files "~/Documents/drive/org/calendar/habit.org")))
(progn (progn
(add-to-list 'org-agenda-files "~/Documents/drive/org/calendar/personal.org") (add-to-list 'org-agenda-files "~/Documents/drive/org/calendar/personal.org")
(add-to-list 'org-agenda-files "~/Documents/drive/org/calendar/habit.org"))))) (add-to-list 'org-agenda-files "~/Documents/drive/org/calendar/habit.org")))))

Loading…
Cancel
Save