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