emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master b765164: ;Partially revert 2649105a


From: Mark Oteiza
Subject: [Emacs-diffs] master b765164: ;Partially revert 2649105a
Date: Thu, 21 Jul 2016 20:53:19 +0000 (UTC)

branch: master
commit b7651649c2b1321a0c510116c1ac2442599d9a2e
Author: Mark Oteiza <address@hidden>
Commit: Mark Oteiza <address@hidden>

    ;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 710899f..701d409 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]