]> git.donarmstrong.com Git - lib.git/commitdiff
Fix tex mode loading
authorDon Armstrong <don@donarmstrong.com>
Mon, 21 Aug 2023 19:23:58 +0000 (12:23 -0700)
committerDon Armstrong <don@donarmstrong.com>
Mon, 21 Aug 2023 19:23:58 +0000 (12:23 -0700)
emacs_el/configuration/don-configuration.org

index b4a08bbc63f501cad7699b2ffa8bce4d44fcccc1..9f2013959741a435baa08f0fd4fb4d5956fc9085 100644 (file)
@@ -1023,10 +1023,10 @@ _d_: subtree
 #+END_SRC
 ** LaTeX
 #+BEGIN_SRC emacs-lisp
-(use-package tex
-  :defer t
+(use-package tex-site
   :straight auctex
-  :mode "\\.tex\\'"
+  :mode ("\\.tex\\'" . LaTeX-mode)
+  :mode ("\\.bib\\'" . bibtex-mode)
   :config
   ; (add-to-list 'TeX-style-path '"/home/don/lib/emacs_el/auctex/style")
   ;; REFTEX (much enhanced management of cross-ref, labels, etc)