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