]> git.eshelyaron.com Git - emacs.git/commitdiff
; * lisp/textmodes/flyspell.el (flyspell-auto-correct-word): Fix last change.
authorEli Zaretskii <eliz@gnu.org>
Fri, 16 Feb 2018 14:30:02 +0000 (16:30 +0200)
committerEli Zaretskii <eliz@gnu.org>
Fri, 16 Feb 2018 14:30:02 +0000 (16:30 +0200)
lisp/textmodes/flyspell.el

index 0d19dbe140bfea9408d6d9306c544d8172d47cb2..353d4352f6079b50128d9a37912b380512e8e84c 100644 (file)
@@ -1917,9 +1917,10 @@ before point that's highlighted as misspelled."
 ;;*---------------------------------------------------------------------*/
 (defun flyspell-auto-correct-word ()
   "Correct the current word.
-This command proposes various successive corrections for the current word.
-If invoked repeatedly with point on a word, it cycles through the
-possible corrections."
+This command proposes various successive corrections for the
+current word.  If invoked repeatedly on the same position, it
+cycles through the possible corrections of the word at or near
+that position."
   (interactive)
   ;; If we are not in the construct where flyspell should be active,
   ;; invoke the original binding of M-TAB, if that was recorded.