[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: flyspell functions don't initialize aspell dicts
From: |
Agustin Martin |
Subject: |
Re: flyspell functions don't initialize aspell dicts |
Date: |
Tue, 13 May 2008 12:19:48 +0200 |
User-agent: |
Mutt/1.5.17+20080114 (2008-01-14) |
On Mon, May 12, 2008 at 05:27:46PM -0500, Nathaniel Cunningham wrote:
> Greetings,
> I've found that (flyspell-buffer) doesn't go through the same dictionary
> initialization steps as (ispell-buffer). Specifically, the flyspell
> functions (flyspell-word) and (flyspell-large-region) don't call
> (ispell-maybe-find-aspell-dictionaries), they way (ispell-region) and
> (flyspell-mode) do. The result: user's aspell setup (if present) doesn't
> get to inform `ispell-dictionary-alist', unless e.g. (ispell-buffer) or
> (flyspell-mode) is called first.
>
> I believe simply adding (ispell-maybe-find-aspell-dictionaries) near the top
> of `flyspell-word' and `flyspell-large-region' definitions, as it already is
> for `flyspell-mode-on', will take care of this.
(ispell-maybe-find-aspell-dictionaries) is no longer used in fsf emacs
ispell.el or flyspell.el. It has been recently replaced by a more generic
(ispell-set-spellchecker-params), which is also called from (flyspell-word)
and (flyspell-large-region).
flyspell.el: Revision 1.131
ispell.el: Revision 1.227
Regards,
--
Agustin