2013-03-18 15:42:22 +00:00
|
|
|
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
|
2021-02-05 19:56:18 +00:00
|
|
|
index 65f61644b6..254c3e6a82 100644
|
2013-03-18 15:42:22 +00:00
|
|
|
--- a/lisp/textmodes/ispell.el
|
|
|
|
+++ b/lisp/textmodes/ispell.el
|
2021-02-05 19:56:18 +00:00
|
|
|
@@ -197,14 +197,11 @@ ispell-choices-win-default-height
|
|
|
|
:type 'integer
|
|
|
|
:group 'ispell)
|
|
|
|
|
|
|
|
-;; XXX Add enchant to this list once enchant >= 2.1.0 is widespread.
|
|
|
|
-;; Before that, adding it is useless, as if it is found, it will just
|
|
|
|
-;; cause an error; and one of the other spelling engines below is
|
|
|
|
-;; almost certainly installed in any case, for enchant to use.
|
2011-11-16 10:16:12 +00:00
|
|
|
(defcustom ispell-program-name
|
2013-03-18 15:42:22 +00:00
|
|
|
- (or (executable-find "aspell")
|
2021-02-05 19:56:18 +00:00
|
|
|
- (executable-find "ispell")
|
|
|
|
+ (or (executable-find "enchant-2")
|
|
|
|
(executable-find "hunspell")
|
2013-03-18 15:42:22 +00:00
|
|
|
+ (executable-find "aspell")
|
2021-02-05 19:56:18 +00:00
|
|
|
+ (executable-find "ispell")
|
2011-11-16 10:16:12 +00:00
|
|
|
"ispell")
|
|
|
|
"Program invoked by \\[ispell-word] and \\[ispell-region] commands."
|
|
|
|
:type 'string
|