# HG changeset patch # User Richard M. Stallman # Date 1124149710 0 # Node ID 50a2100bf749f0f57335fa005b7f11f6f4c3babe # Parent fb2cad4cfb3042a65b1b86be7a54397092f5bc1d (flyspell-large-region): Fix doc and custom type. (flyspell-mark-duplications-flag): Doc fix. diff -r fb2cad4cfb30 -r 50a2100bf749 lisp/textmodes/flyspell.el --- a/lisp/textmodes/flyspell.el Mon Aug 15 21:29:32 2005 +0000 +++ b/lisp/textmodes/flyspell.el Mon Aug 15 23:48:30 2005 +0000 @@ -77,7 +77,9 @@ :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 @@ 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."