]> git.donarmstrong.com Git - lib.git/commitdiff
load bibtex mode separately when required
authorDon Armstrong <don@donarmstrong.com>
Tue, 29 Aug 2023 20:56:50 +0000 (13:56 -0700)
committerDon Armstrong <don@donarmstrong.com>
Tue, 29 Aug 2023 20:56:50 +0000 (13:56 -0700)
emacs_el/configuration/don-configuration.org

index 8c75d002383f7d78524c4ae3cefe9d0fb40f92b2..9d42195fc6aea6c49d80ba7c535f643469f943f1 100644 (file)
@@ -1048,6 +1048,7 @@ _d_: subtree
 ** BibTex
 #+BEGIN_SRC emacs-lisp
 (use-package bibtex
+  :mode "\\.bib\\'"
   :config (setq bibtex-user-optional-fields
                 (quote (("annote" "Personal annotation (ignored)")
                         ("abstract" "")
@@ -1061,7 +1062,6 @@ _d_: subtree
 (use-package tex
   :straight auctex
   :mode ("\\.tex\\'" . LaTeX-mode)
-  :mode ("\\.bib\\'" . bibtex-mode)
   :config
   ; (add-to-list 'TeX-style-path '"/home/don/lib/emacs_el/auctex/style")
   (add-hook 'LaTeX-mode-hook 'outline-minor-mode)   ; with AUCTeX LaTeX mode