emacs: Fix timer confusion

This commit is contained in:
Nathan McCarty 2022-06-06 06:33:18 -04:00
parent 7e0d18caf8
commit f6186a16d2
Signed by: thatonelutenist
GPG Key ID: D70DA3DD4D1E9F96
1 changed files with 1 additions and 1 deletions

View File

@ -250,7 +250,7 @@ Setup some basic cosmetic improvements
;; Update the timer, first canceling the old one
(when nm/org-agenda-update-timer
(cancel-timer nm/org-agenda-update-timer))
(setq nm/org-agenda-update-timer (run-with-timer 60 nil 'nm/org-agenda-update-timer)))
(setq nm/org-agenda-files-timer (run-with-timer 60 nil 'nm/update-org-agenda-files)))
(after! org
;; Set the agenda files on first start