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