summaryrefslogtreecommitdiff
path: root/chess.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-09-02 05:21:33 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-09-02 05:21:33 -0400
commit881370a731fd8d3ea7e2026c0d21fe8bc6ca25e6 (patch)
tree9893f9fab4a3388e8fed0baa86ed0c3509022989 /chess.el
parenteb66c58ee15db9dad9759ae8145956f9c8cf1854 (diff)
Don't highlight the opening paren for special chess-* forms.
Diffstat (limited to 'chess.el')
-rw-r--r--chess.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/chess.el b/chess.el
index 7900709..55ea465 100644
--- a/chess.el
+++ b/chess.el
@@ -122,8 +122,8 @@ available."
(and (fboundp 'font-lock-add-keywords)
(font-lock-add-keywords
'emacs-lisp-mode
- '(("(chess-error\\>" . font-lock-warning-face)
- ("(chess-with-current-buffer\\>" . font-lock-keyword-face))))
+ '(("(\\(chess-error\\)\\>" 1 font-lock-warning-face)
+ ("(\\(chess-with-current-buffer\\)\\>" 1 font-lock-keyword-face))))
(defun chess--create-display (module game my-color disable-popup)
(let ((display (chess-display-create game module my-color)))