chiark / gitweb /
el/dot-emacs.el: Defeat AUC-TeX's horrible fontification.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 6 Jul 2018 11:21:52 +0000 (12:21 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 6 Jul 2018 11:21:52 +0000 (12:21 +0100)
el/dot-emacs.el

index 1c484e6d4dc77af94cc566b470d5caba06541e34..48d17af04d61377c2ff9f5661d53defb453cc92d 100644 (file)
@@ -3461,6 +3461,8 @@ (defun mdw-fontify-tex ()
         (list "[$^_{}#&]"
               '(0 mdw-punct-face)))))
 
+(setq TeX-install-font-lock 'tex-font-setup)
+
 (eval-after-load 'font-latex
   '(defun font-latex-jit-lock-force-redisplay (buf start end)
      "Compatibility for Emacsen not offering `jit-lock-force-redisplay'."