]> code.delx.au - gnu-emacs-elpa/commitdiff
fix font-lock-keywords syntax
authorNoam Postavsky <npostavs@users.sourceforge.net>
Sun, 13 Oct 2013 21:55:58 +0000 (17:55 -0400)
committerNoam Postavsky <npostavs@users.sourceforge.net>
Sun, 13 Oct 2013 21:55:58 +0000 (17:55 -0400)
The syntax is (MATCHER . FACENAME) (note the dot).

yasnippet.el

index f1bba52596947b49f9a773e33f864f9320cfac8f..0102a64f9c2cb834436f0ba842835a19f98a94e1 100644 (file)
@@ -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)))))