From d1cd766ad9cdc6e3eba64e636d1ef9739bc7958d Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Wed, 22 Jun 2016 11:45:00 -0400 Subject: Move hooks to config from init in .emacs for reftex --- .emacs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.emacs b/.emacs index 860498d..aa794d1 100644 --- a/.emacs +++ b/.emacs @@ -21,7 +21,7 @@ (use-package tex ; TeX editing/processing :ensure auctex :defer t - :init + :config (add-hook 'LaTeX-mode-hook 'turn-on-reftex) (add-hook 'LaTeX-mode-hook (lambda () @@ -33,7 +33,6 @@ '("corollary" LaTeX-env-label) '("lemma" LaTeX-env-label) '("conjecture" LaTeX-env-label)))) - :config (progn (setq TeX-parse-self t ; Parse documents to provide completion ; for packages, etc. -- cgit v1.2.3