auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 45f0298c57b6bc0960a01


From: Arash Esbati
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 45f0298c57b6bc0960a01e681e9899b7173ade13
Date: Sun, 8 Dec 2019 07:35:57 -0500 (EST)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
       via  45f0298c57b6bc0960a01e681e9899b7173ade13 (commit)
      from  e35f85a0c0dc34c5e2f1825ee6064ad6cb88bccb (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 45f0298c57b6bc0960a01e681e9899b7173ade13
Author: Arash Esbati <address@hidden>
Date:   Sun Dec 8 13:35:16 2019 +0100

    * font-latex.el (font-latex-setup): Remove XEmacs compat code.

diff --git a/font-latex.el b/font-latex.el
index 4df9526..02a86f5 100644
--- a/font-latex.el
+++ b/font-latex.el
@@ -1261,22 +1261,6 @@ triggers Font Lock to recognize the change."
 (defun font-latex-setup ()
   "Setup this buffer for LaTeX font-lock.  Usually called from a hook."
   (font-latex-set-syntactic-keywords)
-  ;; Trickery to make $$ fontification be in `font-latex-math-face' while
-  ;; strings get whatever `font-lock-string-face' has been set to.
-  (when (fboundp 'built-in-face-specifiers)
-    ;; Cool patch from Christoph Wedler...
-    (let (instance)
-      (mapc (lambda (property)
-             (setq instance
-                   (face-property-instance 'font-latex-math-face property
-                                           nil 0 t))
-             (if (numberp instance)
-                 (setq instance
-                       (face-property-instance 'default property nil 0)))
-             (or (numberp instance)
-                 (set-face-property 'font-lock-string-face property
-                                    instance (current-buffer))))
-           (built-in-face-specifiers))))
 
   ;; Activate multi-line fontification facilities if available.
   (when (boundp 'font-lock-multiline)

-----------------------------------------------------------------------

Summary of changes:
 font-latex.el | 16 ----------------
 1 file changed, 16 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

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