aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2018-02-16 16:30:02 +0200
committerEli Zaretskii2018-02-16 16:30:02 +0200
commit9f5d8da5cce9ec20d9272df60b10efd8a09b94a9 (patch)
treeb9ce4daaa02013d762da5c3f6082c112e4fed92b
parentf73905af2dc4ae51195b5cad2562a2c523a3ad39 (diff)
downloademacs-9f5d8da5cce9ec20d9272df60b10efd8a09b94a9.tar.gz
emacs-9f5d8da5cce9ec20d9272df60b10efd8a09b94a9.zip
; * lisp/textmodes/flyspell.el (flyspell-auto-correct-word): Fix last change.
-rw-r--r--lisp/textmodes/flyspell.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/textmodes/flyspell.el b/lisp/textmodes/flyspell.el
index 0d19dbe140b..353d4352f60 100644
--- a/lisp/textmodes/flyspell.el
+++ b/lisp/textmodes/flyspell.el
@@ -1917,9 +1917,10 @@ before point that's highlighted as misspelled."
1917;;*---------------------------------------------------------------------*/ 1917;;*---------------------------------------------------------------------*/
1918(defun flyspell-auto-correct-word () 1918(defun flyspell-auto-correct-word ()
1919 "Correct the current word. 1919 "Correct the current word.
1920This command proposes various successive corrections for the current word. 1920This command proposes various successive corrections for the
1921If invoked repeatedly with point on a word, it cycles through the 1921current word. If invoked repeatedly on the same position, it
1922possible corrections." 1922cycles through the possible corrections of the word at or near
1923that position."
1923 (interactive) 1924 (interactive)
1924 ;; If we are not in the construct where flyspell should be active, 1925 ;; If we are not in the construct where flyspell should be active,
1925 ;; invoke the original binding of M-TAB, if that was recorded. 1926 ;; invoke the original binding of M-TAB, if that was recorded.