[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] textmodes/flyspell.el (flyspell-post-command-hook): Decided
From: |
Stefan Monnier |
Subject: |
Re: [PATCH] textmodes/flyspell.el (flyspell-post-command-hook): Decided whether to check previous word while in correct buffer. |
Date: |
Tue, 26 Mar 2013 21:09:39 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> If command changed the buffer, the decision may be made based on the
> current buffer even though it should based on the previous one. This
> may lead to false positives and more importantly to errors since
> `flyspell-pre-point' is buffer local so it may have unsanitised value
> (such as nil) in previous buffer.
Can't we just say that if current-buffer is different from the previous
one, then don't do anything?
Stefan