Commit c11a5a9c authored by Agustín Martín's avatar Agustín Martín

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

parent 71ab16dd
......@@ -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"))))
;;*---------------------------------------------------------------------*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment