[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: enable flyspell in latex files
From: |
David Hansen |
Subject: |
Re: enable flyspell in latex files |
Date: |
Tue, 29 Jul 2008 13:34:31 +0200 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) |
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