From 0f03364c1f61d4f1602337771dec0455f9afe611 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sat, 11 Jul 2026 15:52:24 -0500 Subject: refactor(org-agenda): move timegrid setting to its owner, drop dead timeline org-agenda-timegrid-use-ampm lived in org-roam's :config, so it only took effect once org-roam loaded at its 1s defer. I moved it into org-agenda's own :config beside the other agenda display settings, and dropped the now-unused defvar from org-roam. I also removed the timeline entry from org-agenda-prefix-format. The timeline agenda type was removed from org in 9.1, so the entry was inert. --- modules/org-agenda-config.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/org-agenda-config.el') diff --git a/modules/org-agenda-config.el b/modules/org-agenda-config.el index 207c286e..d4407b28 100644 --- a/modules/org-agenda-config.el +++ b/modules/org-agenda-config.el @@ -50,10 +50,10 @@ :demand t :config (setq org-agenda-prefix-format '((agenda . " %i %-25:c%?-12t% s") - (timeline . " % s") (todo . " %i %-25:c") (tags . " %i %-12:c") (search . " %i %-12:c"))) + (setq org-agenda-timegrid-use-ampm t) ;; show the agenda time grid in 12-hour am/pm (setq org-agenda-dim-blocked-tasks 'invisible) (setq org-agenda-skip-scheduled-if-done nil) (setq org-agenda-remove-tags t) -- cgit v1.2.3