Commit 55b958f0 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(ispell-program-name): Try looking for "aspell" along exec-path,

and if found, use it as the default speller program.
parent c2c51a11
2005-05-07 Eli Zaretskii <eliz@gnu.org>
* textmodes/ispell.el (ispell-program-name): Try looking for
"aspell" along exec-path, and if found, use it as the default
speller program.
2005-05-07 Jirka Kosek <jirka@kosek.cz> (tiny change)
 
* international/mule.el (sgml-xml-auto-coding-function): Recognize
......
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment