[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 7d56798: Add enchant-2 to list of default spelling checker progra
From: |
Reuben Thomas |
Subject: |
master 7d56798: Add enchant-2 to list of default spelling checker programs |
Date: |
Sun, 6 Sep 2020 18:24:02 -0400 (EDT) |
branch: master
commit 7d567981c8bef27e9b8482f2aeb0932d31c6f973
Author: Reuben Thomas <rrt@sc3d.org>
Commit: Reuben Thomas <rrt@sc3d.org>
Add enchant-2 to list of default spelling checker programs
* lisp/textmodes/ispell.el (ispell-program-name): Check `enchant-2',
as it is likely to be a suitable version.
---
lisp/textmodes/ispell.el | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
index 86452ff..11f90f4 100644
--- a/lisp/textmodes/ispell.el
+++ b/lisp/textmodes/ispell.el
@@ -198,14 +198,13 @@ Must be greater than 1."
: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.
(defcustom ispell-program-name
(or (executable-find "aspell")
(executable-find "ispell")
(executable-find "hunspell")
+ ;; Enchant is commonly installed as `enchant-2', so use this
+ ;; name and avoid old versions of `enchant'.
+ (executable-find "enchant-2")
"ispell")
"Program invoked by \\[ispell-word] and \\[ispell-region] commands."
:type 'string
@@ -330,7 +329,7 @@ The function must take one string argument and return a
string."
:group 'ispell)
;; FIXME framepop.el last updated c 2003 (?),
-;; probably something else replaces it these days.
+;; use posframe.
(defcustom ispell-use-framepop-p nil
"When non-nil ispell uses framepop to display choices in a dedicated frame.
You can set this variable to dynamically use framepop if you are in a
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 7d56798: Add enchant-2 to list of default spelling checker programs,
Reuben Thomas <=