From: Richard M. Stallman Date: Fri, 7 Aug 1998 08:53:47 +0000 (+0000) Subject: (midnight-timer-function): No need to test midnight-mode. X-Git-Tag: emacs-20.3~143 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cbb41490e936b8db1909f75f70ff8e79961c8fd1;p=emacs.git (midnight-timer-function): No need to test midnight-mode. --- 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." (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.