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