[Misc] Change the way to load ‘tex-mode’
This commit is contained in:
parent
9ebb068241
commit
a4e5f0616f
5
init.el
5
init.el
|
@ -1232,8 +1232,9 @@ are assumed to be of the form *.crt."
|
||||||
'(reftex-citation . nil)))
|
'(reftex-citation . nil)))
|
||||||
(setq reftex-plug-into-AUCTeX t)))
|
(setq reftex-plug-into-AUCTeX t)))
|
||||||
|
|
||||||
(with-eval-after-load 'tex-mode
|
(use-package tex
|
||||||
(use-package db-latex))
|
:defer t
|
||||||
|
:config (require 'db-latex))
|
||||||
|
|
||||||
(use-package ebib
|
(use-package ebib
|
||||||
:commands (ebib))
|
:commands (ebib))
|
||||||
|
|
|
@ -7,9 +7,6 @@
|
||||||
|
|
||||||
;; Setup
|
;; Setup
|
||||||
|
|
||||||
(use-package tex
|
|
||||||
:ensure auctex)
|
|
||||||
|
|
||||||
(require 'latex)
|
(require 'latex)
|
||||||
(require 'tex-buf)
|
(require 'tex-buf)
|
||||||
(require 'reftex)
|
(require 'reftex)
|
||||||
|
|
Loading…
Reference in New Issue