diff options
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/textmodes/ispell.el | 4 |
2 files changed, 9 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 23941081c27..ffa571119d6 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2005-05-07 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * textmodes/ispell.el (ispell-program-name): Try looking for | ||
| 4 | "aspell" along exec-path, and if found, use it as the default | ||
| 5 | speller program. | ||
| 6 | |||
| 1 | 2005-05-07 Jirka Kosek <jirka@kosek.cz> (tiny change) | 7 | 2005-05-07 Jirka Kosek <jirka@kosek.cz> (tiny change) |
| 2 | 8 | ||
| 3 | * international/mule.el (sgml-xml-auto-coding-function): Recognize | 9 | * international/mule.el (sgml-xml-auto-coding-function): Recognize |
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index 97bc3350b47..c8926776400 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el | |||
| @@ -301,7 +301,9 @@ Must be greater than 1." | |||
| 301 | :type 'integer | 301 | :type 'integer |
| 302 | :group 'ispell) | 302 | :group 'ispell) |
| 303 | 303 | ||
| 304 | (defcustom ispell-program-name "ispell" | 304 | (defcustom ispell-program-name |
| 305 | (or (locate-file "aspell" exec-path exec-suffixes 'file-executable-p) | ||
| 306 | "ispell") | ||
| 305 | "Program invoked by \\[ispell-word] and \\[ispell-region] commands." | 307 | "Program invoked by \\[ispell-word] and \\[ispell-region] commands." |
| 306 | :type 'string | 308 | :type 'string |
| 307 | :group 'ispell) | 309 | :group 'ispell) |