Function: ispell--run-on-word

ispell--run-on-word is a byte-compiled function defined in ispell.el.gz.

Signature

(ispell--run-on-word WORD)

Documentation

Run ispell on WORD.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/ispell.el.gz
(defun ispell--run-on-word (word)
  "Run ispell on WORD."
  (ispell-send-string "%\n")	; Put the speller in verbose mode.
  (ispell-send-string (concat "^" word "\n"))
  ;; wait until ispell has processed word
  (while (progn
           (ispell-accept-output)
           (not (string= "" (car ispell-filter)))))
  (setq ispell-filter (cdr ispell-filter))
  (when (and ispell-filter (listp ispell-filter))
    (if (> (length ispell-filter) 1)
        (error "Ispell and its process have different character maps: %s" ispell-filter)
      (ispell-parse-output (car ispell-filter)))))