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

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

[elpa] externals/auctex d4660dd 18/80: * style/xparse.el ("xparse"): Fix


From: Tassilo Horn
Subject: [elpa] externals/auctex d4660dd 18/80: * style/xparse.el ("xparse"): Fix fontification of alternatives.
Date: Wed, 16 Oct 2019 11:07:09 -0400 (EDT)

branch: externals/auctex
commit d4660ddd110be7e5cd3a8dd9f6557f2c14350b0f
Author: Arash Esbati <address@hidden>
Commit: Arash Esbati <address@hidden>

    * style/xparse.el ("xparse"): Fix fontification of alternatives.
---
 style/xparse.el | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/style/xparse.el b/style/xparse.el
index a65f2d1..271ec61 100644
--- a/style/xparse.el
+++ b/style/xparse.el
@@ -100,11 +100,11 @@
    ;; Fontification
    (when (and (featurep 'font-latex)
              (eq TeX-install-font-lock 'font-latex-setup))
-     (font-latex-add-keywords '(("DeclareDocumentCommand" "|{{{")
-                               ("NewDocumentCommand" "|{{{")
-                               ("RenewDocumentCommand" "|{{{")
-                               ("ProvideDocumentCommand" "|{{{")
-                               ("DeclareExpandableDocumentCommand" "|{{{")
+     (font-latex-add-keywords '(("DeclareDocumentCommand" "|{\\{{")
+                               ("NewDocumentCommand" "|{\\{{")
+                               ("RenewDocumentCommand" "|{\\{{")
+                               ("ProvideDocumentCommand" "|{\\{{")
+                               ("DeclareExpandableDocumentCommand" "|{\\{{")
                                ("DeclareDocumentEnvironment" "{{{{")
                                ("NewDocumentEnvironment" "{{{{")
                                ("RenewDocumentEnvironment" "{{{{")



reply via email to

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