emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/auctex 3cf92fc 14/35: Fix font-locking issue


From: Tassilo Horn
Subject: [elpa] externals/auctex 3cf92fc 14/35: Fix font-locking issue
Date: Sun, 22 Mar 2015 09:27:01 +0000

branch: externals/auctex
commit 3cf92fc2daa70cb111b73fbf6be7a51ce42d19d2
Author: Tassilo Horn <address@hidden>
Commit: Tassilo Horn <address@hidden>

    Fix font-locking issue
    
    * font-latex.el (font-latex-match-command-with-arguments): Fix
    error introduced in the last change.
---
 ChangeLog     |    5 +++++
 font-latex.el |    3 +--
 2 files changed, 6 insertions(+), 2 deletions(-)

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))))



reply via email to

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