summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Lang <mlang@delysid.org>2004-01-28 16:19:49 +0000
committerMario Lang <mlang@delysid.org>2004-01-28 16:19:49 +0000
commita409c967e32fbb71fb97d6ae3998c9a7256056be (patch)
tree5c5883ac49d49d866bd369b232ae99053f98c8f7
parent99464fbeb98d3599eaf21da828d978b722fa69f8 (diff)
(chess-display-create): More docs.
-rw-r--r--chess-display.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/chess-display.el b/chess-display.el
index 19d3ddd..68d77b2 100644
--- a/chess-display.el
+++ b/chess-display.el
@@ -94,7 +94,10 @@ is used to avoid reentrancy.")
(cannot-yet-add . "Cannot insert moves into a game (yet)")))
(defun chess-display-create (game style perspective)
- "Create a chess display, for displaying chess objects."
+ "Create a chess display, for displaying chess objects.
+Where GAME is the chess game object to use, STYLE should be the display
+type to use (a symbol) and PERSPECTIVE determines the viewpoint
+of the board, if non-nil, the board is viewed from White's perspective."
(interactive (list (if current-prefix-arg
(chess-game-create (chess-fen-to-pos
(read-string "FEN: ")))