mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-25 07:40:40 -07:00
(midnight-timer-function): No need to test midnight-mode.
This commit is contained in:
parent
748b5d1b3e
commit
cbb41490e9
1 changed files with 1 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue