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