Function: flyspell-correct-word

flyspell-correct-word is an interactive and byte-compiled function defined in flyspell.el.gz.

Signature

(flyspell-correct-word EVENT)

Documentation

Pop up a menu of possible corrections for a misspelled word.

The word checked is the word at the mouse position.

View in manual

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/flyspell.el.gz
;;*---------------------------------------------------------------------*/
;;*    flyspell-correct-word ...                                        */
;;*---------------------------------------------------------------------*/

(defun flyspell-correct-word (event)
  "Pop up a menu of possible corrections for a misspelled word.
The word checked is the word at the mouse position."
  (interactive "e")
  (let ((save (point)))
    (mouse-set-point event)
    (flyspell-correct-word-before-point (and (consp event) event) save)))