Julien Cubizolles <[email protected]> writes: Hi Julien,
> (eval-after-load "latex" > '(progn > (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. `LaTeX-math-mode' is defined in latex.el, so you could have ;; the usual auctex setup here... (require 'latex) (add-hook 'org-mode-hook 'LaTeX-math-mode) in your ~/.emacs instead of your `eval-after-load'. Then it'll work no matter if you've opened some latex file before, but your emacs startup time will increase a bit. Bye, Tassilo _______________________________________________ auctex mailing list [email protected] https://lists.gnu.org/mailman/listinfo/auctex
