Have flyspell mark all misspelled words even those not written during the current session

StackOverflow https://stackoverflow.com/questions/7877493

  •  11-02-2021
  •  | 
  •  

When I active flyspell, M-x flyspell-mode, it marks misspelled words as I write them but it does not mark any misspelled words in the buffer that I have not written during current session. How can I make it so that flyspell also marks misspelled word not written during the current session?

有帮助吗?

解决方案

Well, you can manually do:

M-x flyspell-buffer

If you want this to happen every time you turn on flyspell-mode, you can add this to your .emacs:

(add-hook 'flyspell-mode-hook 'flyspell-buffer)
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top