diff options
| author | Juanma Barranquero | 2009-11-30 23:39:04 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2009-11-30 23:39:04 +0000 |
| commit | 2ac7e73ec4f72a59d87adc0c431010c03e8b51ea (patch) | |
| tree | 46fddf441084aaeb4f0919d98842d00fb5b5b82f | |
| parent | 5237d741a8744f6be1bcbf28f551fc222e6d75ae (diff) | |
| download | emacs-2ac7e73ec4f72a59d87adc0c431010c03e8b51ea.tar.gz emacs-2ac7e73ec4f72a59d87adc0c431010c03e8b51ea.zip | |
* savehist.el (savehist-autosave-interval): Allow setting to nil
through customize. (Bug#5056)
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/savehist.el | 3 |
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 @@ | |||
| 1 | 2009-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 | |||
| 1 | 2009-11-30 Juanma Barranquero <lekktu@gmail.com> | 6 | 2009-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. |
| 122 | If set to nil, disables timer-based autosaving." | 122 | If 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 |