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

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

[elpa] master 79f3656 011/177: fix font-lock-keywords syntax


From: João Távora
Subject: [elpa] master 79f3656 011/177: fix font-lock-keywords syntax
Date: Sat, 28 Mar 2015 15:40:28 +0000

branch: master
commit 79f3656b3e9b115de7429d8e47f29049cfdd1609
Author: Noam Postavsky <address@hidden>
Commit: Noam Postavsky <address@hidden>

    fix font-lock-keywords syntax
    
    The syntax is (MATCHER . FACENAME) (note the dot).
---
 yasnippet.el |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/yasnippet.el b/yasnippet.el
index f1bba52..0102a64 100644
--- a/yasnippet.el
+++ b/yasnippet.el
@@ -823,8 +823,8 @@ Honour `yas-dont-activate', which see."
             ("${\\([0-9]+\\):?"
              (0 font-lock-keyword-face)
              (1 font-lock-warning-face t))
-            ("${" font-lock-keyword-face)
-            ("$[0-9]+?" font-lock-preprocessor-face)
+            ("${" . font-lock-keyword-face)
+            ("$[0-9]+?" . font-lock-preprocessor-face)
             ("\\(\\$(\\)" 1 font-lock-preprocessor-face)
             ("}"
              (0 font-lock-keyword-face)))))



reply via email to

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