[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: More problems with flyspell
From: |
Stefan Monnier |
Subject: |
Re: More problems with flyspell |
Date: |
Mon, 09 Jan 2006 16:53:31 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> @@ -2630,8 +2639,13 @@
> (let ((dict (or ispell-local-dictionary ispell-dictionary)))
> (unless (equal ispell-current-dictionary dict)
> (ispell-kill-ispell t)
> - (setq ispell-current-dictionary dict))))
> -
> + (setq ispell-current-dictionary dict)
> + ;; If needed, start ispell process and clear out flyspell word cache
> + (when (featurep 'flyspell)
> + (setq flyspell-last-buffer nil) ;; re-read buffer-local-defs
> + (when flyspell-mode
> + (ispell-init-process)
> + (setq flyspell-word-cache-word nil))))))
Looking at this patch, I feel like my flyspell-last-buffer should probably
be moved from flyspell.el to ispell.el (and renamed ispell-last-buffer).
If someone could do that for me, that'd be swell,
Stefan
PS: Maybe the same should be done with flyspell-word-cache-word, of course,
but I'm not familiar enough with it.
- More problems with flyspell, Piet van Oostrum, 2006/01/05
- Re: More problems with flyspell, Stefan Monnier, 2006/01/05
- Re: More problems with flyspell, Agustin Martin, 2006/01/05
- Re: More problems with flyspell, Richard M. Stallman, 2006/01/08
- Re: More problems with flyspell, Agustin Martin, 2006/01/09
- Re: More problems with flyspell, Agustin Martin, 2006/01/09
- Re: More problems with flyspell,
Stefan Monnier <=
- Re: More problems with flyspell, Agustin Martin, 2006/01/09
- Re: More problems with flyspell, Stefan Monnier, 2006/01/09
- Re: More problems with flyspell, Agustin Martin, 2006/01/10