diff options
| author | John Wiegley <johnw@newartisans.com> | 2002-04-17 01:33:42 +0000 |
|---|---|---|
| committer | John Wiegley <johnw@newartisans.com> | 2002-04-17 01:33:42 +0000 |
| commit | 4d1c4c72b5a9c2c0180531246389a452fc034bc8 (patch) | |
| tree | 451683c6b2afe9808a468e74446b828f7809e2c6 /chess-pos.el | |
| parent | 0a7853b21f28d776e51b70a843fea57681ace069 (diff) | |
*** no comment ***
Diffstat (limited to 'chess-pos.el')
| -rw-r--r-- | chess-pos.el | 5 |
1 files changed, 2 insertions, 3 deletions
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. |
