From 0f1aec0d574708d0512bb8b128626f607d6c426e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?tr=C3=A9meur?= Date: Fri, 6 Jan 2023 19:29:01 +0000 Subject: [PATCH] 18h is too early --- agenda.el | 4 ++-- config.org | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/agenda.el b/agenda.el index 1bb76aa..5cb9977 100644 --- a/agenda.el +++ b/agenda.el @@ -1,11 +1,11 @@ (load-file "~/.emacs.d/custom/workday.el") (if (isworkday) - (if (< (string-to-number (format-time-string "%H")) 18) + (if (< (string-to-number (format-time-string "%H")) 19) (if (> (string-to-number (format-time-string "%H")) 7) (setq org-agenda-files (list "~/Documents/drive/org/calendar/admin.org" "~/Documents/drive/org/calendar/home.org" "~/Documents/drive/org/calendar/music.org" "~/Documents/drive/org/calendar/work.org")) (setq org-agenda-files (list "~/Documents/drive/org/calendar/admin.org" "~/Documents/drive/org/calendar/home.org" "~/Documents/drive/org/calendar/music.org" "~/Documents/drive/org/calendar/personal.org"))) (setq org-agenda-files (list "~/Documents/drive/org/calendar/admin.org" "~/Documents/drive/org/calendar/home.org" "~/Documents/drive/org/calendar/music.org" "~/Documents/drive/org/calendar/personal.org"))) (setq org-agenda-files (list "~/Documents/drive/org/calendar/admin.org" "~/Documents/drive/org/calendar/home.org" "~/Documents/drive/org/calendar/music.org" "~/Documents/drive/org/calendar/personal.org"))) (setq org-agenda-prefix-format '((agenda . "%?-12t%s"))) -(setq org-deadline-warning-days 0) +;; (setq org-deadline-warning-days 0) (load-file "~/.emacs.d/agenda-common.el") diff --git a/config.org b/config.org index 96ad550..74e4685 100644 --- a/config.org +++ b/config.org @@ -603,7 +603,7 @@ Set the files to be included. (progn (add-to-list 'org-agenda-files "~/Documents/drive/org/calendar/home.org") (if (isworkday) - (if (< (string-to-number (format-time-string "%H")) 18) + (if (< (string-to-number (format-time-string "%H")) 19) (if (> (string-to-number (format-time-string "%H")) 7) (progn (add-to-list 'org-agenda-files "~/Documents/drive/org/calendar/work.org")