From 881370a731fd8d3ea7e2026c0d21fe8bc6ca25e6 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 2 Sep 2008 05:21:33 -0400 Subject: Don't highlight the opening paren for special chess-* forms. --- chess.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chess.el') 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))) -- cgit v1.2.3