auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] TeX-fold-mode and preview-LATeX


From: David Kastrup
Subject: Re: [AUCTeX] TeX-fold-mode and preview-LATeX
Date: Thu, 30 Jun 2005 08:02:16 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Rainer Thiel <address@hidden> writes:

> I have successfully installed the current AUCTeX to be 11.80, and
> updated to the current GNU Emacs developper version (2005-06-26).  All
> of my previous .emacs.el entries except one work fine, but one of them
> appears not to be compatible with the new AUCTeX version.
>
> Previously, I had the line:
>
>       '(LaTeX-mode-hook (quote (turn-on-reftex (lambda nil
>       (TeX-fold-mode 1)))) t)
>
> among my custom set variables.

One should only use
(add-hook ...
on hook variables, not customize-variable, so that different programs
(like preview-latex.el does) can add to the hook in question.  Also
there are things like special markers for local hooks and similar that
possibly interfere with Customize.

It might be a mistake that LaTeX-mode-hook is a customizable variable
at all.  I am not sure what the general practice in Emacs would be.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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