aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2009-11-30 23:39:04 +0000
committerJuanma Barranquero2009-11-30 23:39:04 +0000
commit2ac7e73ec4f72a59d87adc0c431010c03e8b51ea (patch)
tree46fddf441084aaeb4f0919d98842d00fb5b5b82f
parent5237d741a8744f6be1bcbf28f551fc222e6d75ae (diff)
downloademacs-2ac7e73ec4f72a59d87adc0c431010c03e8b51ea.tar.gz
emacs-2ac7e73ec4f72a59d87adc0c431010c03e8b51ea.zip
* savehist.el (savehist-autosave-interval): Allow setting to nil
through customize. (Bug#5056)
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/savehist.el3
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 66710ac75ec..e8fd70568be 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
2
3 * savehist.el (savehist-autosave-interval): Allow setting to nil
4 through customize. (Bug#5056)
5
12009-11-30 Juanma Barranquero <lekktu@gmail.com> 62009-11-30 Juanma Barranquero <lekktu@gmail.com>
2 7
3 Fix references to jit-lock properties. 8 Fix references to jit-lock properties.
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."
120(defcustom savehist-autosave-interval (* 5 60) 120(defcustom savehist-autosave-interval (* 5 60)
121 "The interval between autosaves of minibuffer history. 121 "The interval between autosaves of minibuffer history.
122If set to nil, disables timer-based autosaving." 122If set to nil, disables timer-based autosaving."
123 :type 'integer 123 :type '(choice (const :tag "Disabled" nil)
124 (integer :tag "Seconds"))
124 :group 'savehist) 125 :group 'savehist)
125 126
126(defcustom savehist-mode-hook nil 127(defcustom savehist-mode-hook nil