[OS X Emacs] Enable flyspell permanently

pdfinn at uwm.edu pdfinn at uwm.edu
Fri Mar 20 11:22:25 EDT 2009


At Fri, 20 Mar 2009 14:15:38 +0000,
Daniel Stegmueller wrote:
> 
> [1  <text/plain; US-ASCII (7bit)>]
> Dear list,
> 
> sorry for this rather primitive question, but beyond ESS and Auctex I  
> never delved deeper into the mysteries of Emacs/Lisp....
> 
> Is there a way to permanently enable flyspell for text (or tex) modes?
> 
> Thanks,
> Daniel
> 

For text mode try adding (add-hook 'text-mode-hook 'turn-on-flyspell)
for TeX (add-hook 'LaTeX-mode-hook 'turn-on-flyspell) to your .emacs
file.

You can also set these variables through the customization facility: try
M-x customize-apropos <RET> text-mode-hook <RET>

Peter



More information about the MacOSX-Emacs mailing list