aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2005-08-15 23:48:30 +0000
committerRichard M. Stallman2005-08-15 23:48:30 +0000
commitae3defd0d3da56ad793020c9c87736fb6c258f46 (patch)
tree322e018ad94e4bfd3bfda8e86ac98443c5558970
parente95e5f8193f5f7f11cb0238330b4d7f39760fe25 (diff)
downloademacs-ae3defd0d3da56ad793020c9c87736fb6c258f46.tar.gz
emacs-ae3defd0d3da56ad793020c9c87736fb6c258f46.zip
(flyspell-large-region): Fix doc and custom type.
(flyspell-mark-duplications-flag): Doc fix.
-rw-r--r--lisp/textmodes/flyspell.el9
1 files changed, 7 insertions, 2 deletions
diff --git a/lisp/textmodes/flyspell.el b/lisp/textmodes/flyspell.el
index c74beb881ef..b6b7339c948 100644
--- a/lisp/textmodes/flyspell.el
+++ b/lisp/textmodes/flyspell.el
@@ -77,7 +77,9 @@ Non-nil means use highlight, nil means use minibuffer messages."
77 :type 'boolean) 77 :type 'boolean)
78 78
79(defcustom flyspell-mark-duplications-flag t 79(defcustom flyspell-mark-duplications-flag t
80 "*Non-nil means Flyspell reports a repeated word as an error." 80 "*Non-nil means Flyspell reports a repeated word as an error.
81Detection of repeated words is not implemented in
82\"large\" regions; see `flyspell-large-region'."
81 :group 'flyspell 83 :group 'flyspell
82 :type 'boolean) 84 :type 'boolean)
83 85
@@ -238,10 +240,13 @@ If the region is smaller than this number of characters,
238flyspell methods. Else, if the region is large, a new Ispell process is 240flyspell methods. Else, if the region is large, a new Ispell process is
239spawned for speed. 241spawned for speed.
240 242
243Doubled words are not detected in a large region, because Ispell
244does not check for them.
245
241If `flyspell-large-region' is nil, all regions are treated as small." 246If `flyspell-large-region' is nil, all regions are treated as small."
242 :group 'flyspell 247 :group 'flyspell
243 :version "21.1" 248 :version "21.1"
244 :type '(choice number boolean)) 249 :type '(choice number (const :tag "All small" nil)))
245 250
246(defcustom flyspell-insert-function (function insert) 251(defcustom flyspell-insert-function (function insert)
247 "*Function for inserting word by flyspell upon correction." 252 "*Function for inserting word by flyspell upon correction."