Julien Cubizolles <[email protected]> writes:
> Nicolas Richard <[email protected]> writes:
>> Tassilo Horn <[email protected]> writes:
>>>   (require 'latex)
>>>   (add-hook 'org-mode-hook 'LaTeX-math-mode)
>> Alternatively to (require 'latex), you could do:
>> (autoload 'LaTeX-math-mode "latex")
>>
>> This doens't increase the startup time, but increases the time it takes
>> to start org-mode the first time.
>
> I'm not sure I understand how it affects org-mode startup.

It tells emacs to load "latex" only when you want to use
LaTeX-math-mode, so it's not the startup time that is affected, but the
time required for using the command the first time -- I assumed that to
happen when you open your first org file (with the above hook).

> Anyway, the short answer seems to be that there is no way to use
> LaTeX-math-mode without loading the whole latex-mode.

Indeed, latex.el must be loaded since that where it is defined.

-- 
Nico.

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

Reply via email to