diff options
| author | John Wiegley <johnw@newartisans.com> | 2002-04-13 11:13:33 +0000 |
|---|---|---|
| committer | John Wiegley <johnw@newartisans.com> | 2002-04-13 11:13:33 +0000 |
| commit | 7e960384fa89c02c2fc2be1f61fe18645f8a13fe (patch) | |
| tree | 66d17d5fb9a7f73a3291e6261f1df2e12612eb2e /chess.el | |
| parent | f4639c9095c34caa60b4122e2cf4d6b1402508e3 (diff) | |
added message catalog support
Diffstat (limited to 'chess.el')
| -rw-r--r-- | chess.el | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -111,6 +111,9 @@ minibuffer, which works well for Emacspeak users." :type 'string :group 'chess) +(chess-message-catalog 'english + '((no-images-fallback . "Could not find suitable chess images; using ics1 display"))) + ;;;###autoload (defun chess (&optional engine disable-popup engine-response-handler &rest engine-ctor-args) @@ -135,7 +138,7 @@ minibuffer, which works well for Emacspeak users." (when (and (eq chess-default-display 'chess-images) (with-current-buffer display (null chess-images-size))) - (message "Could not find suitable chess images; using ics1 display") + (chess-message 'no-images-fallback) (chess-display-destroy display) (require 'chess-ics1) (setq display (chess-display-create game 'chess-ics1 my-color))) @@ -155,7 +158,8 @@ minibuffer, which works well for Emacspeak users." ;; let them know we're ready to begin (chess-engine-command engine 'ready)) - (when chess-announce-moves + (when (and (not (eq engine-module 'chess-none)) + chess-announce-moves) (if (and (not (eq chess-announce-moves t)) (symbolp chess-announce-moves)) (let ((name (symbol-name chess-announce-moves))) |
