[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ispell loads dict twice.

From: Agustin Martin
Subject: Re: Ispell loads dict twice.
Date: Wed, 26 Apr 2006 12:14:18 +0200
User-agent: Mutt/1.5.11+cvs20060403

On Mon, Apr 24, 2006 at 09:36:40PM +0200, Michaël Cadilhac wrote:
> $ emacs -Q
> C-u M-x ispell-change-dictionary RET francais RET
> C-x b test1 RET
> M-x ispell-change-dictionary RET english RET
> M-x ispell-buffer
> C-x b test2 RET
> M-x ispell-change-dictionary RET english RET
>   The « english » dictionary will be loaded twice: on the
>   « ispell-buffer » and on the latest « ispell-change-dictionary ».

While the above problem looks rather minor your patch seems to work
well here, both the above and the personal dict part. I would only
suggest a very minor cosmetic change, as in attached patch (to be
applied on top of your patch), just to help people reading the code
to understand how that call works without looking at 
`ispell-buffer-local-dict' definition.

If this is used along with your patch, no specific changelog entry is
needed, otherwise something like

 Make (ispell-buffer-local-dict) call more verbose

might suffice


Attachment: ispell.el.double_call+pdict+changes.diff
Description: Text document

reply via email to

[Prev in Thread] Current Thread [Next in Thread]