"Non-nil means misspelled words remain highlighted until corrected.
If this variable is nil, only the most recently detected misspelled word
is highlighted, and the highlight is turned off as soon as point moves
-off the misspelled word."
+off the misspelled word.
+
+Make sure this variable is non-nil if you use `flyspell-region'."
:group 'flyspell
:type 'boolean)
;;* flyspell-small-region ... */
;;*---------------------------------------------------------------------*/
(defun flyspell-small-region (beg end)
- "Flyspell text between BEG and END."
+ "Flyspell text between BEG and END.
+
+This function is intended to work on small regions, as
+determined by `flyspell-large-region'."
(save-excursion
(if (> beg end)
(let ((old beg))
;;*---------------------------------------------------------------------*/
;;;###autoload
(defun flyspell-region (beg end)
- "Flyspell text between BEG and END."
+ "Flyspell text between BEG and END.
+
+Make sure `flyspell-mode' is turned on if you want the highlight
+of a misspelled word removed when you've corrected it."
(interactive "r")
(ispell-set-spellchecker-params) ; Initialize variables and dicts alists
(if (= beg end)