[Top][All Lists]

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

[AUCTeX] LaTeX-math-mode in other modes

From: Julien Cubizolles
Subject: [AUCTeX] LaTeX-math-mode in other modes
Date: Fri, 14 Mar 2014 06:44:11 +0100
User-agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3.50 (gnu/linux)

I'm typing a lot of LaTeX in Org-mode and I'd like to use
LaTeX-math-mode in Org-mode by default. So far I have come up with the
following in my .emacs:

(eval-after-load "latex"
    (add-hook 'org-mode-hook 'LaTeX-math-mode)

It's ok if some previous latex file has been loaded, but I'm wondering
if it would be possible to somehow preload 'LaTeX-math-mode.


reply via email to

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