flyspell-get-word

flyspell-get-word is a compiled Lisp function in `flyspell.el'.

(flyspell-get-word &optional FOLLOWING EXTRA-OTHERCHARS)

Return the word for spell-checking according to Ispell syntax.
Optional argument FOLLOWING non-nil means to get the following
(rather than preceding) word when the cursor is not over a word.
Optional second argument EXTRA-OTHERCHARS is a regexp of characters
that may be included as part of a word (see `ispell-dictionary-alist').