gnu.emacs.help
[Top] [All Lists]

Re: enable flyspell in latex files

Subject: Re: enable flyspell in latex files
From: David Hansen <david.hansen@xxxxxxx>
Date: Tue, 29 Jul 2008 13:34:31 +0200
Newsgroups: gnu.emacs.help

On Tue, 29 Jul 2008 13:16:36 +0200 Sven Bretfeld wrote:

> (autoload 'flyspell-mode "flyspell" "On-the-fly spelling checker." t) 
> (add-hook 'LaTeX-mode-hook 'flyspell-mode)

Better make it (add-hook 'LaTeX-mode-hook 'turn-on-flyspell).  If you
have a mode that is derived from some other mode, and in both hooks
`flyspell-mode' is called with no arguments, that is a NOP.

David




<Prev in Thread] Current Thread [Next in Thread>