Sign up ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm using flyspell mode, but unfortunatly I have to M-x flyspell-mode in each AUCTeX buffer.

Somehow (add-hook 'LaTeX-mode-hook 'flyspell-mode) doesn't work for me.

What is the correct flyspell-hook in AUCTeX?

share|improve this question

2 Answers 2

up vote 11 down vote accepted

Try (add-hook 'LaTeX-mode-hook '(flyspell-mode t))

This will force flyspell-mode to turn on, instead of toggling it.

share|improve this answer
thanks. That worked. removing the hook worked as well. The hook might have been sourced somehow otherwise (from text-mode?). – Dima Jul 30 '10 at 14:55
(add-hook 'LaTeX-mode-hook '(flyspell-mode t))

I would be surprised if the above worked. But the following is better anyway:

(add-hook 'LaTeX-mode-hook #'turn-on-flyspell)
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.