Disable flyspell
I can't disable flyspell, i don't want it on my code files, is there any way to enable it for choosen modes only?
You can disable flyspell (and whitespace for example) by default by putting this code somewhere in your personal/ dir:
(defun fix-prelude-prog-mode-defaults ()
(prelude-turn-off-whitespace)
(turn-off-flyspell))
(add-hook 'prelude-prog-mode-hook 'fix-prelude-prog-mode-defaults t)
great it works!
The only problem with this method is it only helps you in code files. Plain-text documents still have flyspell enabled. Solution?
I turn it off with (remove-hook 'text-mode-hook 'prelude-turn-on-flyspell). message-mode-hook also includes it, but I don't write email in emacs.
I get "Symbol's function definition is void: prelude-turn-off-whitespace" when I try doing this. What gives?
@kgthegreat Consult the README ;-)