flyspell-maybe-correct-transposition

flyspell-maybe-correct-transposition is a compiled Lisp function in `flyspell.el'.

(flyspell-maybe-correct-transposition BEG END POSS)

Check replacements for transposed characters.

If the text between BEG and END is equal to a correction suggested by
Ispell, after transposing two adjacent characters, correct the text,
and return t.

The third arg POSS is either the symbol 'doublon' or a list of
possible corrections as returned by `ispell-parse-output'.

This function is meant to be added to `flyspell-incorrect-hook'.