summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-09-09 23:47:08 -0400
committerKyle Meyer <kyle@kyleam.com>2015-09-09 23:47:08 -0400
commitd3aa8330f38fd6212ecf8fab635ac8fff9acb2ea (patch)
treec96fb5bc47f687edea17c2a6fcf625fc7a425384
parentb074720c3f26211e5fcec82468436f9ee9b55740 (diff)
downloademacs.d-d3aa8330f38fd6212ecf8fab635ac8fff9acb2ea.tar.gz
Set TeX-electric-math
-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)