copr-emacs/emacs-spellchecker.patch

16 lines
527 B
Diff

diff -u a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
--- a/lisp/textmodes/ispell.el
+++ b/lisp/textmodes/ispell.el
@@ -191,9 +191,9 @@
:type 'integer)
(defcustom ispell-program-name
- (or (executable-find "aspell")
+ (or (executable-find "hunspell")
+ (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")