21f7f4
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
21f7f4
index 1d28de7..1daec44 100644
21f7f4
--- a/lisp/textmodes/ispell.el
21f7f4
+++ b/lisp/textmodes/ispell.el
21f7f4
@@ -200,9 +200,9 @@
21f7f4
 ;; cause an error; and one of the other spelling engines below is
21f7f4
 ;; almost certainly installed in any case, for enchant to use.
21f7f4
 (defcustom ispell-program-name
21f7f4
-  (or (executable-find "aspell")
21f7f4
+  (or (executable-find "hunspell")
21f7f4
+      (executable-find "aspell")
21f7f4
       (executable-find "ispell")
21f7f4
-      (executable-find "hunspell")
21f7f4
       "ispell")
21f7f4
   "Program invoked by \\[ispell-word] and \\[ispell-region] commands."
21f7f4
   :type 'string