changeset 106335:efe6269d9301

* savehist.el (savehist-autosave-interval): Allow setting to nil through customize. (Bug#5056)
author Juanma Barranquero <lekktu@gmail.com>
date Mon, 30 Nov 2009 23:39:04 +0000
parents 359e597e3e01
children 33c61d7ea5d8
files lisp/ChangeLog lisp/savehist.el
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Mon Nov 30 22:51:34 2009 +0000
+++ b/lisp/ChangeLog	Mon Nov 30 23:39:04 2009 +0000
@@ -1,3 +1,8 @@
+2009-11-30  Ryan C. Thompson  <rct@thompsonclan.org>  (tiny change)
+
+	* savehist.el (savehist-autosave-interval): Allow setting to nil
+	through customize.  (Bug#5056)
+
 2009-11-30  Juanma Barranquero  <lekktu@gmail.com>
 
 	Fix references to jit-lock properties.
--- a/lisp/savehist.el	Mon Nov 30 22:51:34 2009 +0000
+++ b/lisp/savehist.el	Mon Nov 30 23:39:04 2009 +0000
@@ -120,7 +120,8 @@
 (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