summaryrefslogtreecommitdiff
path: root/chess-pos.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-pos.el')
-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