diff options
| author | John Wiegley <johnw@newartisans.com> | 2008-09-01 20:08:35 -0400 |
|---|---|---|
| committer | John Wiegley <johnw@newartisans.com> | 2008-09-01 21:35:02 -0400 |
| commit | 5bfeda5da90b136381f36314228f4ad281c8948b (patch) | |
| tree | 94d0d143668921e959958a609b17c6f6791faa5b | |
| parent | 82df326680e889d2cc17434aee13e4c4f1c943dc (diff) | |
Fontify chess-error and chess-with-current-buffer as keywords.
| -rw-r--r-- | chess.el | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -119,6 +119,12 @@ available." :type 'string :group 'chess) +(and (fboundp 'font-lock-add-keywords) + (font-lock-add-keywords + 'emacs-lisp-mode + '(("(chess-error\\>" . font-lock-keyword-face) + ("(chess-with-current-buffer\\>" . font-lock-keyword-face)))) + (defun chess--create-display (module game my-color disable-popup) (let ((display (chess-display-create game module my-color))) (when display @@ -158,7 +164,8 @@ If an element of MODULE-LIST is a sublist, treat it as alternatives." (nreverse objects))) (chess-message-catalog 'english - '((no-engines-found . "Could not find any chess engines to play against; install gnuchess!"))) + '((no-engines-found + . "Could not find any chess engines to play against; install gnuchess!"))) ;;;###autoload (defun chess (&optional engine disable-popup engine-response-handler |
