From: Mattias EngdegÄrd Date: Sat, 21 Sep 2024 17:33:20 +0000 (+0200) Subject: ; * lisp/midnight.el (midnight-mode): forward-declare midnight-delay X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9e2a7eb025864f3d1a4731b1f21355fc92b19ce4;p=emacs.git ; * lisp/midnight.el (midnight-mode): forward-declare midnight-delay (cherry picked from commit f5bf007df122d3524b23725c5ddc2dd97d3577f8) --- 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