seperate require/use-package for latex-mode

This commit is contained in:
Ivan Malison 2015-09-10 14:34:33 -07:00
parent 008caa3dde
commit ade489c1a5

View File

@ -1980,7 +1980,6 @@ window is active in the perspective."
:config :config
(progn (progn
(add-hook 'TeX-mode-hook 'set-TeX-master) (add-hook 'TeX-mode-hook 'set-TeX-master)
(unbind-key "C-j" LaTeX-mode-map)
(unbind-key "C-j" TeX-mode-map) (unbind-key "C-j" TeX-mode-map)
(setq TeX-auto-save t) (setq TeX-auto-save t)
(setq TeX-parse-self t) (setq TeX-parse-self t)
@ -1989,6 +1988,12 @@ window is active in the perspective."
(TeX-global-PDF-mode t) (TeX-global-PDF-mode t)
(setq-default TeX-master nil))) (setq-default TeX-master nil)))
(use-package latex
:ensure auctex
:config
(progn
(unbind-key "C-j" LaTeX-mode-map)))
;; ============================================================================= ;; =============================================================================
;; other modes ;; other modes
;; ============================================================================= ;; =============================================================================