(ispell-program-name): Try looking for "aspell" along exec-path,
and if found, use it as the default speller program.
This commit is contained in:
parent
c2c51a11cd
commit
55b958f07b
2 changed files with 9 additions and 1 deletions
|
@ -301,7 +301,9 @@ Must be greater than 1."
|
|||
:type 'integer
|
||||
:group 'ispell)
|
||||
|
||||
(defcustom ispell-program-name "ispell"
|
||||
(defcustom ispell-program-name
|
||||
(or (locate-file "aspell" exec-path exec-suffixes 'file-executable-p)
|
||||
"ispell")
|
||||
"Program invoked by \\[ispell-word] and \\[ispell-region] commands."
|
||||
:type 'string
|
||||
:group 'ispell)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue