2013-03-18 15:42:22 +00:00
|
|
|
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
|
2022-01-08 13:26:58 +00:00
|
|
|
index 0a3a49d868..b6c0975857 100644
|
2013-03-18 15:42:22 +00:00
|
|
|
--- a/lisp/textmodes/ispell.el
|
|
|
|
+++ b/lisp/textmodes/ispell.el
|
2022-01-08 13:26:58 +00:00
|
|
|
@@ -191,12 +191,12 @@ Must be greater than 1."
|
|
|
|
:type 'integer)
|
2021-02-05 19:56:18 +00:00
|
|
|
|
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")
|
2022-01-08 13:26:58 +00:00
|
|
|
+ ;; Enchant is commonly installed as `enchant-2', so use this
|
|
|
|
+ ;; name and avoid old versions of `enchant'.
|
2021-02-05 19:56:18 +00:00
|
|
|
+ (or (executable-find "enchant-2")
|
|
|
|
(executable-find "hunspell")
|
2022-01-08 13:26:58 +00:00
|
|
|
- ;; Enchant is commonly installed as `enchant-2', so use this
|
|
|
|
- ;; name and avoid old versions of `enchant'.
|
|
|
|
- (executable-find "enchant-2")
|
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
|