aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/midnight.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/midnight.el b/lisp/midnight.el
index ba68718bde9..062d3fae09f 100644
--- a/lisp/midnight.el
+++ b/lisp/midnight.el
@@ -219,8 +219,7 @@ to its second argument."
219 219
220(defun midnight-timer-function () 220(defun midnight-timer-function ()
221 "This is the function run by the `midnight-mode' timer once each day." 221 "This is the function run by the `midnight-mode' timer once each day."
222 (when midnight-mode 222 (run-hooks 'midnight-hook))
223 (run-hooks 'midnight-hook)))
224 223
225(defcustom midnight-delay 3600 224(defcustom midnight-delay 3600
226 "*The number of seconds after the midnight when the `midnight-timer' is run. 225 "*The number of seconds after the midnight when the `midnight-timer' is run.