diff options
| author | Mario Lang <mlang@delysid.org> | 2004-01-28 16:17:11 +0000 |
|---|---|---|
| committer | Mario Lang <mlang@delysid.org> | 2004-01-28 16:17:11 +0000 |
| commit | 99464fbeb98d3599eaf21da828d978b722fa69f8 (patch) | |
| tree | 920fdb879f54af08a274e12869d5f2e29de6f497 | |
| parent | 60615e2c44b375ca502ecb72806d2398ae92b045 (diff) | |
docfixes
| -rw-r--r-- | chess-var.el | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/chess-var.el b/chess-var.el index ed918ad..9a778bc 100644 --- a/chess-var.el +++ b/chess-var.el @@ -53,14 +53,11 @@ of the variation if INDEX is nil)." (defsubst chess-var-create (&optional position) "Create a new chess variation object. -Optionally use the given starting POSITION. -SEARCH-FUNC specifies the function used to test the legality of moves. -TAGS is the starting set of var tags (which can always be changed -later using the various tag-related methods)." +Optionally use the given starting POSITION." (list (chess-ply-create* (or position chess-starting-position)))) (defun chess-var-move (var ply) - "Make a move in the current VAR, from FROM to TO. + "Make a move in the current VAR by applying the changes of PLY. This creates a new position and adds it to the main variation. The 'changes' of the last ply reflect whether the var is currently in progress (nil), if it is drawn, resigned, mate, etc." |
