# HG changeset patch # User Richard M. Stallman # Date 902480027 0 # Node ID 7ba8e024c38f9c1426de4920e57ceb59a800718d # Parent 9c6f6af7919f89f10738151c26f91075b0a15afe (midnight-timer-function): No need to test midnight-mode. diff -r 9c6f6af7919f -r 7ba8e024c38f lisp/midnight.el --- a/lisp/midnight.el Fri Aug 07 07:57:53 1998 +0000 +++ b/lisp/midnight.el Fri Aug 07 08:53:47 1998 +0000 @@ -219,8 +219,7 @@ (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.