On loading large files (~2000+ lines for example), flyspell takes a few seconds to Run.
Is there a way to have flyspell delay applying to the entire buffer on load?
Only run on visible text for instance? Or run multiple processes to get the job done faster?
Edit: this was caused by:
(add-hook 'flyspell-mode-hook 'flyspell-buffer)
Think this question should be closed.
emacs -q
--(require 'flyspell)
and set just theispell-program-name
and then typeM-x flyspell-mode
on a large buffer.emacs -q
using the above-mentioned settings and I was able to immediately initializeflyspell-mode
on a buffer containing 114,437 lines of code -- no delay or wait whatsoever using Emacs 25.1. As stated above, the default behavior is to only check words surrounding point -- not the entire buffer.