help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Enable flyspell for tex


From: Michael Heerdegen
Subject: Re: Enable flyspell for tex
Date: Wed, 29 Jun 2011 01:32:37 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

Hello,

> (add-hook 'LaTeX-mode-hook (lambda() (flyspell-mode 1)))

this should normally work.

For debugging purposes, you should set debug-on-error to t.

You can try

  (add-hook 'LaTeX-mode-hook 'ding)

to see (hear) if the hook is ever run.

You can use 

  M-x trace-function RET flyspell-mode RET RET

to get a trace with all (future) calls to `flyspell-mode'.



Alternatively you can send me your complete init file.  Maybe there is
some misconfiguration.


> (add-to-list 'auto-mode-alist '("\\.txt\\'" . flyspell-mode))

auto-mode-alist is for major-modes, flyspell-mode is a minor-mode, so
this is no good idea.


HTH,

Michael.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]