; Fix last change.

This commit is contained in:
Eli Zaretskii 2025-02-01 22:08:38 +02:00
parent c7889d0545
commit 3ae7c9069f

View file

@ -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.