Rely on AUCTeX having fixed its autoload cookies

This commit is contained in:
Gerard Vermeulen 2024-02-10 10:18:04 +01:00
parent 4302a21252
commit e7c4bbbe6d

View File

@ -2215,14 +2215,6 @@ configuration objectives:
#+caption: Set =latex= options. #+caption: Set =latex= options.
#+name: lst:set-latex-options #+name: lst:set-latex-options
#+begin_src emacs-lisp -n :results silent #+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 (with-eval-after-load 'latex
(setopt LaTeX-electric-left-right-brace t (setopt LaTeX-electric-left-right-brace t
LaTeX-section-hook '(LaTeX-section-heading LaTeX-section-hook '(LaTeX-section-heading