Variable: savehist-autosave-interval

savehist-autosave-interval is a customizable variable defined in savehist.el.gz.

Value

300

Documentation

The interval between autosaves of minibuffer history.

If set to nil, disables timer-based autosaving.

Source Code

;; Defined in /usr/src/emacs/lisp/savehist.el.gz
(defcustom savehist-autosave-interval (* 5 60)
  "The interval between autosaves of minibuffer history.
If set to nil, disables timer-based autosaving."
  :type '(choice (const :tag "Disabled" nil)
                 (integer :tag "Seconds"))
  :set (lambda (sym val)
         (set-default sym val)
         (savehist--cancel-timer)
         (savehist--manage-timer)))