diff --git a/lisp/midnight.el b/lisp/midnight.el index e5dd7221591..a7c33f331f7 100644 --- a/lisp/midnight.el +++ b/lisp/midnight.el @@ -56,6 +56,7 @@ the time when it is run.") ;; the timer if the mode is on. The ':initialize' function above ;; (which ends up calling `midnight-delay-set') did not know yet if ;; the mode was on or not. + (defvar midnight-delay) (midnight-delay-set 'midnight-delay midnight-delay)) ;;; clean-buffer-list stuff