From 3ae7c9069fa9320ce2cff5b421dc8d9d4c4b8430 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 1 Feb 2025 22:08:38 +0200 Subject: [PATCH] ; Fix last change. --- lisp/savehist.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/savehist.el b/lisp/savehist.el index 7d755bc5047..7cfb358dd6d 100644 --- a/lisp/savehist.el +++ b/lisp/savehist.el @@ -104,6 +104,8 @@ the user's privacy." (cancel-timer savehist-timer)) (setq savehist-timer nil)) +(defvar savehist-autosave-interval) + (defun savehist--manage-timer () "Set or cancel an invocation of `savehist-autosave' on a timer. If `savehist-mode' is enabled, set the timer, otherwise cancel the timer.