auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] GNU AUCTeX branch, font-latex-update, updated. 746fbf9f59


From: Tassilo Horn
Subject: [AUCTeX-diffs] GNU AUCTeX branch, font-latex-update, updated. 746fbf9f59b48d63175ea774237d4d01977638de
Date: Wed, 13 May 2020 02:53:26 -0400 (EDT)

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, font-latex-update has been updated
       via  746fbf9f59b48d63175ea774237d4d01977638de (commit)
      from  e6076a4f8cf2f06e956ad1a60728ca3b2eb11a83 (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 746fbf9f59b48d63175ea774237d4d01977638de
Author: Tassilo Horn <address@hidden>
Date:   Wed May 13 08:53:01 2020 +0200

    Use (derived-mode-p 'doctex-mode) instead of (eq major-mode 'doctex-mode)

diff --git a/font-latex.el b/font-latex.el
index ed25f9a..b552c93 100644
--- a/font-latex.el
+++ b/font-latex.el
@@ -1245,7 +1245,7 @@ triggers Font Lock to recognize the change."
   (font-latex-set-syntactic-keywords)
   (eval
    `(syntax-propertize-rules
-     ,@(if (eq major-mode 'doctex-mode)
+     ,@(if (derived-mode-p 'doctex-mode)
            font-latex-doctex-syntactic-keywords
          font-latex-syntactic-keywords))))
 

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

Summary of changes:
 font-latex.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

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