emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master b35ec0a: ; Revert "; Partially revert 2649105a"


From: Mark Oteiza
Subject: [Emacs-diffs] master b35ec0a: ; Revert "; Partially revert 2649105a"
Date: Thu, 21 Jul 2016 21:15:39 +0000 (UTC)

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

    ;Revert ";Partially revert 2649105a"
    
    This reverts commit b7651649c2b1321a0c510116c1ac2442599d9a2e.
---
 lisp/textmodes/tex-mode.el |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el
index 701d409..710899f 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
                (font-lock-unfontify-region-function
                 . tex-font-lock-unfontify-region)))
   (setq-local prettify-symbols-alist tex--prettify-symbols-alist)
-  (setq-local prettify-symbols-compose-predicate 
#'tex--prettify-symbols-compose-p)
+  (add-function :override (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]