** Flyspell
*** New user option 'flyspell-check-changes'.
-It checks only edited text.
+When non-nil, Flyspell mode spell-checks only words that you edited; it
+does not check unedited words just because you move point across them.
** JS mode.
The binding 'M-.' has been removed from the major mode keymaps in
:type 'key-sequence)
(defcustom flyspell-check-changes nil
- "Check only on moving point from the edited word.
-Unlike the default behavior, don't check when moving point without editing."
+ "If non-nil, spell-check only words that were edited.
+By default, this is nil, and Flyspell checks every word across which
+you move point, even if you haven't edited the word. Customizing this
+option to a non-nil value will not flag mis-spelled words across which
+you move point without editing them."
:type 'boolean
:version "30.1")
(setq flyspell-previous-command command)))))
(defun flyspell-check-changes ()
- "The `post-command-hook' used by flyspell to check only edits.
-It checks only on moving point from the edited word,
-not when moving point without editing."
+ "Function to spell-check only edited words when point moves off the word.
+This is installed by flyspell as `post-command-hook' when the user
+option `flyspell-check-changes' is non-nil. It spell-checks a word
+on moving point from the word only if the word was edited before the move."
(when flyspell-mode
(with-local-quit
(when (consp flyspell-changes)