[Top][All Lists]

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

Re: [AUCTeX] difference between LaTex-mode and latex-mode

From: Mosè Giordano
Subject: Re: [AUCTeX] difference between LaTex-mode and latex-mode
Date: Mon, 27 May 2013 20:24:42 +0200

Hi Jannis,

2013/5/27 Jannis <address@hidden>:
> Dear Auctex users,
> is there any difference between the differently capitalized versions of the
> LaTex string? For example here in .emacs:
> (add-hook 'latex-mode-hook 'turn-on-fic-mode)
> (add-hook 'LaTeX-mode-hook 'turn-on-fic-mode)
> Would these two lines of code mean something different and activate for
> different modes? If yes, under which circumstances would I need the LaTex
> spelling and under which the latex one? Or can I skip one line? I have just
> copied .emacs lines from several places into mine, so I might have copied
> someone elses error ...
AUCTeX modes and hooks are listed in the manual, (info "(auctex)Modes
and Hooks").  The hook for the LaTeX mode is `LaTeX-mode-hook'.  If I
remember correctly, `latex-mode-hook' is the hook for the Emacs native
LaTeX mode, not the AUCTeX one.


reply via email to

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