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-roam-config.el | 2 -- 1 file changed, 2 deletions(-) (limited to 'modules/org-roam-config.el') diff --git a/modules/org-roam-config.el b/modules/org-roam-config.el index 4e360bd7..867f2d99 100644 --- a/modules/org-roam-config.el +++ b/modules/org-roam-config.el @@ -34,7 +34,6 @@ ;; External variables, declared special so byte-compilation doesn't treat them ;; as free references/assignments. Owned by org and org-roam-dailies. -(defvar org-agenda-timegrid-use-ampm) (defvar org-roam-dailies-map) (defvar org-last-state) @@ -98,7 +97,6 @@ FILETAGS and TITLE must sit on separate lines so Org parses the ("C-M-i" . completion-at-point)) :config ;; org-log-done is set once in org-config.el (cj/org-todo-settings). - (setq org-agenda-timegrid-use-ampm t) ;; Don't build the org-refile targets cache here. org-refile-config.el ;; already schedules it on a 5s idle timer; doing it in org-roam's :config -- cgit v1.2.3