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
Jan Synacek 0588f1
@@ -200,9 +200,9 @@
Jan Synacek 0588f1
 ;; cause an error; and one of the other spelling engines below is
Jan Synacek 0588f1
 ;; almost certainly installed in any case, for enchant to use.
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