summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-tex.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/init-tex.el b/lisp/init-tex.el
index e5abe10..708c19e 100644
--- a/lisp/init-tex.el
+++ b/lisp/init-tex.el
@@ -1,7 +1,8 @@
(setq reftex-default-bibliography '("refs.bib"))
-(setq font-latex-fontify-sectioning 'color)
+(setq font-latex-fontify-sectioning 'color
+ TeX-electric-math '("$" . "$"))
(put 'LaTeX-narrow-to-environment 'disabled nil)