Petr Hracek a8163b
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
Bhavin Gandhi e79d2e
index 0a3a49d868..b6c0975857 100644
Petr Hracek a8163b
--- a/lisp/textmodes/ispell.el
Petr Hracek a8163b
+++ b/lisp/textmodes/ispell.el
Bhavin Gandhi e79d2e
@@ -191,12 +191,12 @@ Must be greater than 1."
Bhavin Gandhi e79d2e
   :type 'integer)
Peter Oliver 14924f
 
Karel Klic 24eae4
 (defcustom ispell-program-name
Petr Hracek a8163b
-  (or (executable-find "aspell")
Peter Oliver 14924f
-      (executable-find "ispell")
Bhavin Gandhi e79d2e
+  ;; Enchant is commonly installed as `enchant-2', so use this
Bhavin Gandhi e79d2e
+  ;; name and avoid old versions of `enchant'.
Peter Oliver 14924f
+  (or (executable-find "enchant-2")
Peter Oliver 14924f
       (executable-find "hunspell")
Bhavin Gandhi e79d2e
-      ;; Enchant is commonly installed as `enchant-2', so use this
Bhavin Gandhi e79d2e
-      ;; name and avoid old versions of `enchant'.
Bhavin Gandhi e79d2e
-      (executable-find "enchant-2")
Petr Hracek a8163b
+      (executable-find "aspell")
Peter Oliver 14924f
+      (executable-find "ispell")
Karel Klic 24eae4
       "ispell")
Karel Klic 24eae4
   "Program invoked by \\[ispell-word] and \\[ispell-region] commands."
Karel Klic 24eae4
   :type 'string