summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)