adfca8
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
adfca8
index 1d28de7..1daec44 100644
adfca8
--- a/lisp/textmodes/ispell.el
adfca8
+++ b/lisp/textmodes/ispell.el
adfca8
@@ -351,9 +351,9 @@ Must be greater than 1."
adfca8
   :group 'ispell)
adfca8
 
adfca8
 (defcustom ispell-program-name
adfca8
-  (or (executable-find "aspell")
adfca8
+  (or (executable-find "hunspell")
adfca8
+      (executable-find "aspell")
adfca8
       (executable-find "ispell")
adfca8
-      (executable-find "hunspell")
adfca8
       "ispell")
adfca8
   "Program invoked by \\[ispell-word] and \\[ispell-region] commands."
adfca8
   :type 'string