--- flyspell.el.orig 2008-03-28 12:55:25.000000000 +0100 +++ flyspell.el 2008-03-28 12:58:02.000000000 +0100 @@ -578,7 +578,7 @@ ;;*---------------------------------------------------------------------*/ (defun flyspell-mode-on () "Turn Flyspell mode on. Do not use this; use `flyspell-mode' instead." - (ispell-maybe-find-aspell-dictionaries) + (ispell-set-spellchecker-params) ; Initialize variables and dicts alists (setq ispell-highlight-face 'flyspell-incorrect) ;; local dictionaries setup (or ispell-local-dictionary ispell-dictionary @@ -1016,6 +1016,7 @@ (defun flyspell-word (&optional following) "Spell check a word." (interactive (list ispell-following-word)) + (ispell-set-spellchecker-params) ; Initialize variables and dicts alists (save-excursion ;; use the correct dictionary (flyspell-accept-buffer-local-defs) @@ -1531,7 +1532,7 @@ ;; this is done, we can start checking... (if flyspell-issue-message-flag (message "Checking region...")) (set-buffer curbuf) - (ispell-check-version) + (ispell-set-spellchecker-params) ; Initialize variables and dicts alists ;; Local dictionary becomes the global dictionary in use. (setq ispell-current-dictionary (or ispell-local-dictionary ispell-dictionary)) @@ -1590,6 +1591,7 @@ (defun flyspell-region (beg end) "Flyspell text between BEG and END." (interactive "r") + (ispell-set-spellchecker-params) ; Initialize variables and dicts alists (if (= beg end) () (save-excursion