Переменная, которую вы ищете, это ispell-program-name. Наполните это где-нибудь в вашем .emacs:
(setq ispell-program-name "/path/to/ispell")
Или использовать M-x set-variableи т. Д.
Ссылки:
Из источников в 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)
Смотрите также: http://emacswiki.org/emacs/InteractiveSpell
Всякий раз, когда вы не можете найти функцию Emacs, запомните C-h f(или переменную:) C-h v. Ввод ispellв Describe functionподсказке говорит вам об этом ispell is an interactive compiled Lisp function in 'ispell.el'., и оттуда вы обычно можете найти то, что вы ищете.