From 4d1c4c72b5a9c2c0180531246389a452fc034bc8 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 17 Apr 2002 01:33:42 +0000 Subject: *** no comment *** --- chess-pos.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'chess-pos.el') diff --git a/chess-pos.el b/chess-pos.el index 9fe2648..9564d6d 100644 --- a/chess-pos.el +++ b/chess-pos.el @@ -527,13 +527,12 @@ indices which indicate where a piece may have moved from." ;; been eliminated. (if (and candidates (char-valid-p piece)) (setq candidates - (apply 'chess-pos-legal-moves - position color target candidates))) + (chess-pos-legal-moves position color target candidates))) ;; return the final list of candidate moves candidates)) -(defun chess-pos-legal-moves (position color target &rest candidates) +(defun chess-pos-legal-moves (position color target candidates) "Test if TARGET can legally be reached by any of CANDIDATES. Return the list of candidates that can reach it. -- cgit v1.2.3