aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Oteiza2016-07-21 17:15:26 -0400
committerMark Oteiza2016-07-21 17:15:26 -0400
commitb35ec0ab648268d5427561637c3e86eb885ce0d3 (patch)
treea2f570226132ae41fc821a50c233f40ff688f282
parentb7651649c2b1321a0c510116c1ac2442599d9a2e (diff)
downloademacs-b35ec0ab648268d5427561637c3e86eb885ce0d3.tar.gz
emacs-b35ec0ab648268d5427561637c3e86eb885ce0d3.zip
;Revert ";Partially revert 2649105a"
This reverts commit b7651649c2b1321a0c510116c1ac2442599d9a2e.
-rw-r--r--lisp/textmodes/tex-mode.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el
index 701d40912ca..710899fa30d 100644
--- a/lisp/textmodes/tex-mode.el
+++ b/lisp/textmodes/tex-mode.el
@@ -1259,7 +1259,8 @@ Entering SliTeX mode runs the hook `text-mode-hook', then the hook
1259 (font-lock-unfontify-region-function 1259 (font-lock-unfontify-region-function
1260 . tex-font-lock-unfontify-region))) 1260 . tex-font-lock-unfontify-region)))
1261 (setq-local prettify-symbols-alist tex--prettify-symbols-alist) 1261 (setq-local prettify-symbols-alist tex--prettify-symbols-alist)
1262 (setq-local prettify-symbols-compose-predicate #'tex--prettify-symbols-compose-p) 1262 (add-function :override (local 'prettify-symbols-compose-predicate)
1263 #'tex--prettify-symbols-compose-p)
1263 (setq-local syntax-propertize-function 1264 (setq-local syntax-propertize-function
1264 (syntax-propertize-rules latex-syntax-propertize-rules)) 1265 (syntax-propertize-rules latex-syntax-propertize-rules))
1265 ;; TABs in verbatim environments don't do what you think. 1266 ;; TABs in verbatim environments don't do what you think.