]> code.delx.au - gnu-emacs/commitdiff
(flyspell-large-region): Fix doc and custom type.
authorRichard M. Stallman <rms@gnu.org>
Mon, 15 Aug 2005 23:48:30 +0000 (23:48 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 15 Aug 2005 23:48:30 +0000 (23:48 +0000)
(flyspell-mark-duplications-flag): Doc fix.

lisp/textmodes/flyspell.el

index c74beb881efaf7989c9b8ebf186f7ec08f81d795..b6b7339c948a67ae62104e720fad799b2008b276 100644 (file)
@@ -77,7 +77,9 @@ Non-nil means use highlight, nil means use minibuffer messages."
   :type 'boolean)
 
 (defcustom flyspell-mark-duplications-flag t
-  "*Non-nil means Flyspell reports a repeated word as an error."
+  "*Non-nil means Flyspell reports a repeated word as an error.
+Detection of repeated words is not implemented in
+\"large\" regions; see `flyspell-large-region'."
   :group 'flyspell
   :type 'boolean)
 
@@ -238,10 +240,13 @@ If the region is smaller than this number of characters,
 flyspell methods.  Else, if the region is large, a new Ispell process is
 spawned for speed.
 
+Doubled words are not detected in a large region, because Ispell
+does not check for them.
+
 If `flyspell-large-region' is nil, all regions are treated as small."
   :group 'flyspell
   :version "21.1"
-  :type '(choice number boolean))
+  :type '(choice number (const :tag "All small" nil)))
 
 (defcustom flyspell-insert-function (function insert)
   "*Function for inserting word by flyspell upon correction."