A variável que você está procurando é ispell-program-name .
Coloque isso em algum lugar no seu .emacs :
(setq ispell-program-name "/path/to/ispell")
Ou use M-x set-variable , etc.
Referências:
-
Das origens para
ispell.el(defcustom ispell-program-name (or (locate-file "aspell" exec-path exec-suffixes 'file-executable-p) (locate-file "ispell" exec-path exec-suffixes 'file-executable-p) (locate-file "hunspell" exec-path exec-suffixes 'file-executable-p) "ispell") "Program invoked by \[ispell-word] and \[ispell-region] commands." :type 'string :group 'ispell) -
Veja também: link
Sempre que você não encontrar uma função do Emacs, lembre-se de C-h f (ou uma variável: C-h v ). Digitar ispell no prompt Describe function diz a você que ispell is an interactive compiled Lisp function in 'ispell.el'. e, a partir daí, você geralmente encontra o que está procurando.