changeset 64994:50a2100bf749

(flyspell-large-region): Fix doc and custom type. (flyspell-mark-duplications-flag): Doc fix.
author Richard M. Stallman <rms@gnu.org>
date Mon, 15 Aug 2005 23:48:30 +0000
parents fb2cad4cfb30
children 4de8eb59ebbe
files lisp/textmodes/flyspell.el
diffstat 1 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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."