From b7651649c2b1321a0c510116c1ac2442599d9a2e Mon Sep 17 00:00:00 2001 From: Mark Oteiza Date: Thu, 21 Jul 2016 16:36:50 -0400 Subject: ;Partially revert 2649105a * lisp/textmodes/tex-mode.el (tex-common-initialization): Use setq-local to modify prettify-symbols-compose-predicate. --- lisp/textmodes/tex-mode.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el index 710899fa30..701d40912c 100644 --- a/lisp/textmodes/tex-mode.el +++ b/lisp/textmodes/tex-mode.el @@ -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. -- cgit v1.2.3