summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2002-04-08 09:20:01 +0000
committerJohn Wiegley <johnw@newartisans.com>2002-04-08 09:20:01 +0000
commit2d57b225aa90786b9fab0baf07ddd808dcf48a52 (patch)
tree11f2400b5a43054b770c5874e48f0e5b8fdb068d
parent415d4952d98f724e570e31ba85d258e2429b77a4 (diff)
*** no comment ***
-rw-r--r--TODO3
-rw-r--r--chess-engine.el2
-rw-r--r--chess-network.el3
3 files changed, 6 insertions, 2 deletions
diff --git a/TODO b/TODO
index f7ce954..e0313d5 100644
--- a/TODO
+++ b/TODO
@@ -22,6 +22,9 @@
- Add a display command for writing out the currently displayed game
to a file. It will use PGN for games, and FEN for positions.
+- Auto-raise the chess-images frame, if it's being displayed as a
+ separate frame.
+
----------------------------------------------------------------------
- Port image display code to XEmacs
diff --git a/chess-engine.el b/chess-engine.el
index 23fedfd..5d80436 100644
--- a/chess-engine.el
+++ b/chess-engine.el
@@ -146,7 +146,7 @@
(let ((proc (get-buffer-process (current-buffer))))
(if (and proc (memq (process-status proc) '(run open)))
(process-send-string proc string)
- (error "The engine you're using is no longer running")))))
+ (error "The engine you were using is no longer running")))))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
diff --git a/chess-network.el b/chess-network.el
index 6ef4126..b2d9f01 100644
--- a/chess-network.el
+++ b/chess-network.el
@@ -70,7 +70,8 @@
proc))
((eq event 'shutdown)
- (chess-engine-send nil "QUIT\n"))
+ (ignore-errors
+ (chess-engine-send nil "QUIT\n")))
((eq event 'setup)
(chess-engine-send nil (format "SETBOARD %s\n"