Skip to content

Commit

Permalink
FIX: wrong function in timer
Browse files Browse the repository at this point in the history
  • Loading branch information
guidoschmidt committed Apr 25, 2024
1 parent b5efc25 commit 33e621a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion circadian.el
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
(next-time (circadian--encode-time
(cl-first (cl-first next-entry))
(cl-second (cl-first next-entry)))))
(run-at-time next-time 1 #'circadian-enable-theme)
(run-at-time next-time 1 #'circadian-activate-and-schedule)
(message (concat "[circadian.el] → Next run @ " (format-time-string "%H:%M:%S" next-time))))
(run-hook-with-args 'circadian-after-load-theme-hook theme))
(error "[circadian.el/ERROR] → Problem loading theme %s" theme)))
Expand Down

0 comments on commit 33e621a

Please sign in to comment.