]> code.delx.au - gnu-emacs-elpa/commit
Remove obsolete arguments and use more cl-check-type.
authorMario Lang <mlang@delysid.org>
Mon, 23 Jun 2014 23:01:39 +0000 (01:01 +0200)
committerMario Lang <mlang@delysid.org>
Mon, 23 Jun 2014 23:01:39 +0000 (01:01 +0200)
commit95d1decf4ca8e3830a50c5095ae7ff69bd577e3f
tree5e004c19a9eeb43a6824cca5db6f852424a3bce4
parent7074fb64c66fb84be9a1c8ee3abeb956da355fd9
Remove obsolete arguments and use more cl-check-type.

* chess-ply.el (chess-ply-p): New function.
Change `cl-assert' to `cl-check-type' based on this predicate.
(chess-ply-final-p): Only call `chess-ply-any-keyword' if we actually
found a preceding ply.
(chess-ply--add): Remove obsolte and unused arguments RANK-ADJ and
FILE-ADJ.
(chess-legal-plies): Adjust for `chess-ply--add' argument removal.
ChangeLog
chess-ply.el