mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-02-06 20:49:33 +00:00
(midnight-timer-function): No need to test midnight-mode.
This commit is contained in:
parent
748b5d1b3e
commit
cbb41490e9
@ -219,8 +219,7 @@ to its second argument."
|
||||
|
||||
(defun midnight-timer-function ()
|
||||
"This is the function run by the `midnight-mode' timer once each day."
|
||||
(when midnight-mode
|
||||
(run-hooks 'midnight-hook)))
|
||||
(run-hooks 'midnight-hook))
|
||||
|
||||
(defcustom midnight-delay 3600
|
||||
"*The number of seconds after the midnight when the `midnight-timer' is run.
|
||||
|
Loading…
x
Reference in New Issue
Block a user