Rainer Thiel <[EMAIL PROTECTED]> 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


_______________________________________________
auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex

Reply via email to