Karel Klic 24eae4
diff -up emacs-23.3/lisp/textmodes/ispell.el.spellcheck emacs-23.3/lisp/textmodes/ispell.el
Karel Klic 24eae4
--- emacs-23.3/lisp/textmodes/ispell.el.spellcheck	2011-11-16 10:54:57.363513864 +0100
Karel Klic 24eae4
+++ emacs-23.3/lisp/textmodes/ispell.el	2011-11-16 10:55:17.209577635 +0100
Karel Klic 24eae4
@@ -348,9 +348,9 @@ Must be greater than 1."
Karel Klic 24eae4
   :group 'ispell)
Karel Klic 24eae4
 
Karel Klic 24eae4
 (defcustom ispell-program-name
Karel Klic 24eae4
-  (or (locate-file "aspell"   exec-path exec-suffixes 'file-executable-p)
Karel Klic 24eae4
+  (or (locate-file "hunspell" exec-path exec-suffixes 'file-executable-p)
Karel Klic 24eae4
+      (locate-file "aspell"   exec-path exec-suffixes 'file-executable-p)
Karel Klic 24eae4
       (locate-file "ispell"   exec-path exec-suffixes 'file-executable-p)
Karel Klic 24eae4
-      (locate-file "hunspell" exec-path exec-suffixes 'file-executable-p)
Karel Klic 24eae4
       "ispell")
Karel Klic 24eae4
   "Program invoked by \\[ispell-word] and \\[ispell-region] commands."
Karel Klic 24eae4
   :type 'string