summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2002-04-17 00:58:32 +0000
committerJohn Wiegley <johnw@newartisans.com>2002-04-17 00:58:32 +0000
commitd52df702489c8571c01ca64350560521ad3f0dc5 (patch)
treeec2b86fe1b24eed44029910044eecf914bd2ebc8
parent0ea5de2806cede48cd1dcbb509f84853407bfc91 (diff)
*** no comment ***
-rw-r--r--chess-pos.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/chess-pos.el b/chess-pos.el
index c391725..a07f64d 100644
--- a/chess-pos.el
+++ b/chess-pos.el
@@ -543,9 +543,7 @@ be moved, and TARGET is the index of the location to be moved to.
Note: All of the pieces specified by CANDIDATES must be of the same
type."
(let ((cand candidates)
- (test-piece (if (boundp 'test-piece)
- test-piece ; a performance hack for above
- (upcase (chess-pos-piece position (car candidates)))))
+ (test-piece (upcase (chess-pos-piece position (car candidates))))
last-cand pos king-pos)
(while cand
;; determine the resulting position