1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Make sure `flyspell-word' checks word after (flyspell-check-previous-highlighted-word) run.

This commit is contained in:
Agustín Martín 2010-06-25 10:19:11 +02:00
parent 71ab16dd94
commit c11a5a9cab

View file

@ -1817,7 +1817,9 @@ misspelled words backwards."
(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"))))
;;*---------------------------------------------------------------------*/