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 ;; Plugins
;; ;;
(def-package! tex-site (after! 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
;; Set some varibles to fontify common LaTeX commands. ;; Set some varibles to fontify common LaTeX commands.
(load! +fontification) (load! +fontification)
(setq ;; Enable parse on load. (setq ;; Enable parse on load.
@ -179,7 +173,6 @@
(def-package! bibtex (def-package! bibtex
:defer t :defer t
:mode ("\\.bib\\'" . bibtex-mode)
:config :config
(setq bibtex-dialect 'biblatex (setq bibtex-dialect 'biblatex
bibtex-align-at-equal-sign t bibtex-align-at-equal-sign t