summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-01-27 01:23:54 -0500
committerKyle Meyer <kyle@kyleam.com>2015-01-27 01:23:54 -0500
commitdde18243db3828da9b257e1efbc82b23854705ef (patch)
treecd361c699344c4897dad1399415dc9494a3363f0
parent7cd77bcbd3904100b60b8883ed82f7626c6eaa26 (diff)
downloademacs.d-dde18243db3828da9b257e1efbc82b23854705ef.tar.gz
Load latex-mode, not tex-mode, for *.tex files
-rw-r--r--lisp/init-tex.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/init-tex.el b/lisp/init-tex.el
index 866e9d2..01f254c 100644
--- a/lisp/init-tex.el
+++ b/lisp/init-tex.el
@@ -3,6 +3,8 @@
(put 'LaTeX-narrow-to-environment 'disabled nil)
+(add-to-list 'auto-mode-alist '("\\.[tT]e[xX]\\'" . latex-mode))
+
(add-hook 'LaTeX-mode-hook 'turn-on-reftex)
(provide 'init-tex)