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. 3cf92fc2daa70cb111b73


From: Tassilo Horn
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 3cf92fc2daa70cb111b73fbf6be7a51ce42d19d2
Date: Mon, 02 Mar 2015 07:50:32 +0000

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  3cf92fc2daa70cb111b73fbf6be7a51ce42d19d2 (commit)
      from  83306b4a02162fc2acb3b4db4b6fe0aa7cf5ccd1 (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 3cf92fc2daa70cb111b73fbf6be7a51ce42d19d2
Author: Tassilo Horn <address@hidden>
Date:   Mon Mar 2 08:49:57 2015 +0100

    Fix font-locking issue
    
    * font-latex.el (font-latex-match-command-with-arguments): Fix
    error introduced in the last change.

diff --git a/ChangeLog b/ChangeLog
index 7a6d03c..e81c6bb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-03-02  Tassilo Horn  <address@hidden>
+
+       * font-latex.el (font-latex-match-command-with-arguments): Fix
+       error introduced in the last change.
+
 2015-02-24  Tassilo Horn  <address@hidden>
 
        * style/expl3.el: New style for the wrapper package for
diff --git a/font-latex.el b/font-latex.el
index c2f6536..ed953d3 100644
--- a/font-latex.el
+++ b/font-latex.el
@@ -1494,8 +1494,7 @@ Returns nil if none of KEYWORDS is found."
                             (list (point)
                                   (progn
                                     (forward-char)
-                                    (if (zerop (skip-chars-forward
-                                                "\\\\\\(?:\\s_\\|\\sw\\)+"))
+                                    (if (zerop (skip-syntax-forward "_w"))
                                         (forward-char) ; Single-char macro.
                                       (skip-chars-forward "*"))
                                     (point))))

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

Summary of changes:
 ChangeLog     |    5 +++++
 font-latex.el |    3 +--
 2 files changed, 6 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

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