From 4092de976bd1cdedd4be41b40ce108b164b5894c Mon Sep 17 00:00:00 2001 From: Gerard Vermeulen Date: Fri, 9 Feb 2024 16:08:04 +0100 Subject: [PATCH] Autoload `LaTeX-mode' --- README.org | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.org b/README.org index dd53cbc..0e452db 100644 --- a/README.org +++ b/README.org @@ -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