Function: ispell-send-replacement

ispell-send-replacement is a byte-compiled function defined in ispell.el.gz.

Signature

(ispell-send-replacement MISSPELLED REPLACEMENT)

Documentation

Notify spell checker that MISSPELLED should be spelled REPLACEMENT.

This allows improving the suggestion list based on actual misspellings. Only works for Aspell and Enchant.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/ispell.el.gz
(defun ispell-send-replacement (misspelled replacement)
  "Notify spell checker that MISSPELLED should be spelled REPLACEMENT.
This allows improving the suggestion list based on actual misspellings.
Only works for Aspell and Enchant."
  (and (or ispell-really-aspell ispell-really-enchant)
       (ispell-send-string (concat "$$ra " misspelled "," replacement "\n"))))