Commit b7651649 authored by Mark Oteiza's avatar Mark Oteiza
Browse files

;Partially revert 2649105a

* lisp/textmodes/tex-mode.el (tex-common-initialization): Use
setq-local to modify prettify-symbols-compose-predicate.
parent 29f645d5
......@@ -1259,8 +1259,7 @@ Entering SliTeX mode runs the hook `text-mode-hook', then the hook
(font-lock-unfontify-region-function
. tex-font-lock-unfontify-region)))
(setq-local prettify-symbols-alist tex--prettify-symbols-alist)
(add-function :override (local 'prettify-symbols-compose-predicate)
#'tex--prettify-symbols-compose-p)
(setq-local prettify-symbols-compose-predicate #'tex--prettify-symbols-compose-p)
(setq-local syntax-propertize-function
(syntax-propertize-rules latex-syntax-propertize-rules))
;; TABs in verbatim environments don't do what you think.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment