From: Eli Zaretskii Date: Sat, 1 Feb 2025 20:08:38 +0000 (+0200) Subject: ; Fix last change. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=574b8f25db13a262e0f019f2f63a7a4f43e05257;p=emacs.git ; Fix last change. (cherry picked from commit 3ae7c9069fa9320ce2cff5b421dc8d9d4c4b8430) --- 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.