lang/latex: refactor package loading mechanism

This commit is contained in:
Henrik Lissner 2018-05-25 02:18:29 +02:00
parent d9894f0b74
commit 0bdf638813
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -23,13 +23,7 @@
;; Plugins
;;
(def-package! tex-site
:init
;; Manually load the AUCTEX autoloads. This is normally done by
;; package-initialize, ... which we do not use.
(load "auctex.el" nil t t)
(load "auctex-autoloads.el" nil t t)
:config
(after! tex-site
;; Set some varibles to fontify common LaTeX commands.
(load! +fontification)
(setq ;; Enable parse on load.
@ -179,7 +173,6 @@
(def-package! bibtex
:defer t
:mode ("\\.bib\\'" . bibtex-mode)
:config
(setq bibtex-dialect 'biblatex
bibtex-align-at-equal-sign t