diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2009-11-30 23:39:04 +0000 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2009-11-30 23:39:04 +0000 |
commit | 2ac7e73ec4f72a59d87adc0c431010c03e8b51ea (patch) | |
tree | 46fddf441084aaeb4f0919d98842d00fb5b5b82f /lisp/savehist.el | |
parent | 5237d741a8744f6be1bcbf28f551fc222e6d75ae (diff) | |
download | emacs-2ac7e73ec4f72a59d87adc0c431010c03e8b51ea.tar.gz |
* savehist.el (savehist-autosave-interval): Allow setting to nil
through customize. (Bug#5056)
Diffstat (limited to 'lisp/savehist.el')
-rw-r--r-- | lisp/savehist.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/savehist.el b/lisp/savehist.el index 8dd308610ac..20db8da23c9 100644 --- a/lisp/savehist.el +++ b/lisp/savehist.el @@ -120,7 +120,8 @@ the user's privacy." (defcustom savehist-autosave-interval (* 5 60) "The interval between autosaves of minibuffer history. If set to nil, disables timer-based autosaving." - :type 'integer + :type '(choice (const :tag "Disabled" nil) + (integer :tag "Seconds")) :group 'savehist) (defcustom savehist-mode-hook nil |