Skip to content

Commit

Permalink
fix: Fix typo in display-wttr-update-handler
Browse files Browse the repository at this point in the history
  • Loading branch information
josegpt committed Feb 27, 2022
1 parent 9feb6e5 commit 9c43a7a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions display-wttr.el
Original file line number Diff line number Diff line change
Expand Up @@ -200,10 +200,10 @@ the specified `display-wttr-interval'"
(list (aref timer 1) (aref timer 2) (aref timer 3))
(* 5 (aref timer 4)) 0)))
(or (time-less-p current next-time)
(prog
(timer-set-time timer (timer-next-integral-multiple-of-time
current display-wttr-interval)
(timer-activate timer))))))
(progn
(timer-set-time timer (timer-next-integral-multiple-of-time
current display-wttr-interval)
(timer-activate timer))))))

;;;###autoload
(defun display-wttr ()
Expand Down

0 comments on commit 9c43a7a

Please sign in to comment.