diff options
author | Kyle Meyer <kyle@kyleam.com> | 2015-01-27 01:23:54 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2015-01-27 01:23:54 -0500 |
commit | dde18243db3828da9b257e1efbc82b23854705ef (patch) | |
tree | cd361c699344c4897dad1399415dc9494a3363f0 | |
parent | 7cd77bcbd3904100b60b8883ed82f7626c6eaa26 (diff) | |
download | emacs.d-dde18243db3828da9b257e1efbc82b23854705ef.tar.gz |
Load latex-mode, not tex-mode, for *.tex files
-rw-r--r-- | lisp/init-tex.el | 2 |
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) |