changeset 93800:7aae3fb72148

(flyspell-duplicate-distance): Improve custom type.
author Reiner Steib <Reiner.Steib@gmx.de>
date Sun, 06 Apr 2008 21:01:50 +0000
parents c3b88ef6d3ed
children e5e67a07686b
files lisp/ChangeLog lisp/textmodes/flyspell.el
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sun Apr 06 20:58:20 2008 +0000
+++ b/lisp/ChangeLog	Sun Apr 06 21:01:50 2008 +0000
@@ -1,3 +1,8 @@
+2008-04-06  Reiner Steib  <Reiner.Steib@gmx.de>
+
+	* textmodes/flyspell.el (flyspell-duplicate-distance): Improve
+	custom type.
+
 2008-04-06  Glenn Morris  <rgm@gnu.org>
 
 	* calendar/diary-lib.el (diary-sexp-entry-symbol):
--- a/lisp/textmodes/flyspell.el	Sun Apr 06 20:58:20 2008 +0000
+++ b/lisp/textmodes/flyspell.el	Sun Apr 06 21:01:50 2008 +0000
@@ -98,7 +98,8 @@
 0 means do not search for duplicate unrecognized spellings."
   :group 'flyspell
   :version "21.1"
-  :type 'number)
+  :type '(choice (const :tag "no limit" -1)
+		 number))
 
 (defcustom flyspell-delay 3
   "The number of seconds to wait before checking, after a \"delayed\" command."