Mercurial > emacs
diff lisp/textmodes/flyspell.el @ 109418:6e96aca307a4
Merge from mainline.
author | Katsumi Yamaoka <yamaoka@jpl.org> |
---|---|
date | Sun, 27 Jun 2010 22:48:36 +0000 |
parents | 4795588540bb |
children | d539b74d6530 |
line wrap: on
line diff
--- a/lisp/textmodes/flyspell.el Fri Jun 25 03:34:29 2010 +0000 +++ b/lisp/textmodes/flyspell.el Sun Jun 27 22:48:36 2010 +0000 @@ -1817,7 +1817,9 @@ (throw 'exit t))))))) (save-excursion (goto-char pos) - (ispell-word)) + (ispell-word) + (setq flyspell-word-cache-word nil) ;; Force flyspell-word re-check + (flyspell-word)) (error "No word to correct before point")))) ;;*---------------------------------------------------------------------*/