summaryrefslogtreecommitdiff
path: root/chess-game.el
diff options
context:
space:
mode:
authorMario Lang <mlang@delysid.org>2014-04-04 11:26:37 +0200
committerMario Lang <mlang@delysid.org>2014-04-04 11:26:37 +0200
commit69c424847aa691a9bf02cb0fa83de73e0336420e (patch)
tree6f23cb802be4db64e2c378b242ad201ec1c521a1 /chess-game.el
parent5425563d760584e636b6308e557e0e484090dcea (diff)
Fix docstrings.
Diffstat (limited to 'chess-game.el')
-rw-r--r--chess-game.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/chess-game.el b/chess-game.el
index 2b0d811..39c7b2d 100644
--- a/chess-game.el
+++ b/chess-game.el
@@ -25,12 +25,12 @@
("TimeControl" . "-")))
(defsubst chess-game-hooks (game)
- "Return the tags alist associated with GAME."
+ "Return the event hooks associated with GAME."
(assert game)
(car game))
(defsubst chess-game-set-hooks (game hooks)
- "Return the tags alist associated with GAME."
+ "Set the event hooks associated with GAME."
(assert game)
(assert (or hooks (eq hooks nil)))
(setcar game hooks))
@@ -94,7 +94,7 @@ After the TAGS alist was set the 'set-tags event is triggered."
(and tags (cdr (assoc tag tags)))))
(defun chess-game-set-tag (game tag value)
- "Set a TAG for GAME to VALUE."
+ "Set TAG for GAME to VALUE."
(assert game)
(assert tag)
(assert value)
@@ -108,7 +108,7 @@ After the TAGS alist was set the 'set-tags event is triggered."
(chess-game-run-hooks game 'set-tag tag))
(defsubst chess-game-del-tag (game tag)
- "Delete a TAG from GAME."
+ "Delete TAG from GAME."
(assert game)
(assert tag)
(chess-game-set-tags game (assq-delete-all tag (chess-game-tags game)))