diff options
| author | Richard M. Stallman | 2005-08-15 23:48:30 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2005-08-15 23:48:30 +0000 |
| commit | ae3defd0d3da56ad793020c9c87736fb6c258f46 (patch) | |
| tree | 322e018ad94e4bfd3bfda8e86ac98443c5558970 | |
| parent | e95e5f8193f5f7f11cb0238330b4d7f39760fe25 (diff) | |
| download | emacs-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.el | 9 |
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. |
| 81 | Detection 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, | |||
| 238 | flyspell methods. Else, if the region is large, a new Ispell process is | 240 | flyspell methods. Else, if the region is large, a new Ispell process is |
| 239 | spawned for speed. | 241 | spawned for speed. |
| 240 | 242 | ||
| 243 | Doubled words are not detected in a large region, because Ispell | ||
| 244 | does not check for them. | ||
| 245 | |||
| 241 | If `flyspell-large-region' is nil, all regions are treated as small." | 246 | If `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." |