From f5bf007df122d3524b23725c5ddc2dd97d3577f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mattias=20Engdeg=C3=A5rd?= Date: Sat, 21 Sep 2024 19:33:20 +0200 Subject: [PATCH] ; * lisp/midnight.el (midnight-mode): forward-declare midnight-delay --- lisp/midnight.el | 1 + 1 file changed, 1 insertion(+) 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