Autoload `LaTeX-mode'
This commit is contained in:
parent
e22595b49e
commit
4092de976b
@ -2215,6 +2215,14 @@ configuration objectives:
|
||||
#+caption: Set =latex= options.
|
||||
#+name: lst:set-latex-options
|
||||
#+begin_src emacs-lisp -n :results silent
|
||||
(autoload 'LaTeX-mode "latex"
|
||||
"Major mode in AUCTeX for editing LaTeX files.
|
||||
See info under AUCTeX for full documentation.
|
||||
|
||||
Entering LaTeX mode calls the value of `text-mode-hook',
|
||||
then the value of `TeX-mode-hook', and then the value
|
||||
of `LaTeX-mode-hook'." 'interactive)
|
||||
|
||||
(with-eval-after-load 'latex
|
||||
(setopt LaTeX-electric-left-right-brace t
|
||||
LaTeX-section-hook '(LaTeX-section-heading
|
||||
|
Loading…
Reference in New Issue
Block a user