summaryrefslogtreecommitdiff
path: root/chess-images.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2002-04-15 05:40:38 +0000
committerJohn Wiegley <johnw@newartisans.com>2002-04-15 05:40:38 +0000
commitef7c29d679c6aaf8dda55772e65800097c46f163 (patch)
tree543f39f09bfaa6d44606804c18babff26470d4f8 /chess-images.el
parent6fbcc92505250d896b5d408483822b115bc614c7 (diff)
*** no comment ***
Diffstat (limited to 'chess-images.el')
-rw-r--r--chess-images.el9
1 files changed, 4 insertions, 5 deletions
diff --git a/chess-images.el b/chess-images.el
index 96aa8eb..e6f86ca 100644
--- a/chess-images.el
+++ b/chess-images.el
@@ -152,17 +152,16 @@ called."
"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")))
+ '((no-images-fallback . "Could not find suitable chess images")))
(defun chess-images-handler (event &rest args)
(cond
((eq event 'initialize)
(when (display-graphic-p)
(chess-images-initialize)
- (if chess-images-size
- (current-buffer)
- (chess-message 'no-images-fallback)
- nil)))
+ (or chess-images-size
+ (ignore
+ (chess-message 'no-images-fallback)))))
((eq event 'popup)
(if chess-display-popup