aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@debian.org>2016-06-22 11:45:00 -0400
committerRyan Kavanagh <rak@debian.org>2016-06-22 11:45:00 -0400
commitd1cd766ad9cdc6e3eba64e636d1ef9739bc7958d (patch)
treeb30c7cb6b7e252c04a71455c55ebe230de5ef5d2
parentFix indentation in .emacs (diff)
Move hooks to config from init in .emacs for reftex
Diffstat (limited to '')
-rw-r--r--.emacs3
1 files changed, 1 insertions, 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.