diff options
| author | John Wiegley <johnw@newartisans.com> | 2002-04-14 19:52:56 +0000 |
|---|---|---|
| committer | John Wiegley <johnw@newartisans.com> | 2002-04-14 19:52:56 +0000 |
| commit | d5e9f0a3c531104936728c5a599dde77c67319b0 (patch) | |
| tree | 0868b9db313b9f15ddd9e74050171237cd8b889f /chess-images.el | |
| parent | d881274ead232567cf80f0057031b05f5b0551bc (diff) | |
*** no comment ***
Diffstat (limited to 'chess-images.el')
| -rw-r--r-- | chess-images.el | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/chess-images.el b/chess-images.el index d8dfba9..d2e2256 100644 --- a/chess-images.el +++ b/chess-images.el @@ -151,10 +151,18 @@ called." (?p "pawn" 5)) "The names and index values of the different pieces.") +(chess-message-catalog 'english + '((no-images-fallback . "Could not find suitable chess images; using ics1 display"))) + (defun chess-images-handler (event &rest args) (cond ((eq event 'initialize) - (chess-images-initialize)) + (when (display-graphic-p) + (chess-images-initialize) + (if chess-images-size + t + (chess-message 'no-images-fallback) + nil))) ((eq event 'popup) (if chess-display-popup (funcall chess-images-popup-function))) |
