I need to check whether a string is spelled correctly from my ELisp code. This is what I am trying:
(ispell-start-process)
(ispell-send-string "Check this")
(ispell-accept-output)
The last call freezes, although an ispell
process seems to be running, since (ispell-process-status)
returns 'run
and Fly-Spell
is working properly (though in a different buffer). All I need is a boolean result showing whether a given string is spelled correctly or not. How do I achieve this?