Variable: ispell-program-name
ispell-program-name is a customizable variable defined in
ispell.el.gz.
Value
"ispell"
Documentation
Program invoked by M-$ (ispell-word) and M-x ispell-region (ispell-region) commands.
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/ispell.el.gz
(defcustom ispell-program-name
(or (executable-find "aspell")
(executable-find "ispell")
(executable-find "hunspell")
;; Enchant is commonly installed as `enchant-2', so use this
;; name and avoid old versions of `enchant'.
(executable-find "enchant-2")
"ispell")
"Program invoked by \\[ispell-word] and \\[ispell-region] commands."
:type 'string
:set (lambda (symbol value)
(set-default symbol value)
(if (featurep 'ispell)
(ispell-set-spellchecker-params))))