Subject: bug#11963: 23.4; flyspell should update display after dictionary insertion

From: Eli Zaretskii <[email-masked]>
Date: Wed, 18 Jul 2012 05:53:55 +0300

> From: Norman Ramsey <[email-masked]>
> Date: Tue, 17 Jul 2012 15:59:28 -0400
> 
>   When flyspell-mode inserts a word into my personal dictionary, it
>   should mark that word as correctly spelled.  It doesn't.
> 
>     C-x C-f /tmp/foo.txt
>     M-x text-mode
>     M-x load-library flyspell
>     M-x flyspell-mode
>     This MRFy theorem
> 
>   at this stage the word 'MRFy' should be highlighted as misspelled.
>   We now insert it into the dictionary and save it:
> 
>     M-b M-b M-$ i y
> 
>   At this stage 'MRFy' should no longer be highlighted as misspelled.
>   But it remands highlighted until we move off of if, and if we move using
>   M-> or similar, it does not get updated properly.  It should be updated
>   immediately upon insertion into the dictionary.

Works correctly for me in Emacs 24.1, the latest released version.