]> git.eshelyaron.com Git - emacs.git/commit
Don't activate midnight-mode when loading 'midnight'
authorManuel Giraud <manuel@ledu-giraud.fr>
Sat, 21 Sep 2024 12:51:21 +0000 (14:51 +0200)
committerEshel Yaron <me@eshelyaron.com>
Mon, 23 Sep 2024 10:45:28 +0000 (12:45 +0200)
commit424b2a5e13ba8854cfe4f90e070fe0eb859d9add
treed282b9829dee2e1ec9f646f39e6f87d95eea74ba
parent4e624f2c114c5360cd7ccde9246f389b9c4d34e4
Don't activate midnight-mode when loading 'midnight'

* lisp/midnight.el (midnight-mode): Call 'midnight-delay-set' again
when the mode is activated.
(midnight-delay-set): Only start the timer if the mode is turned
on.  (Bug#73291)
* etc/NEWS: Document the change in behaviour.

(cherry picked from commit 4745bafa6a1d6aeda5ad08e09541d076ee223382)
etc/NEWS
lisp/midnight.el