aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Aranda2019-08-07 11:55:54 -0300
committerEli Zaretskii2019-08-10 11:53:18 +0300
commitfae1ff69c3fd84f208b7b803adafeb95a36e44e7 (patch)
tree31c0dc8d4c5d979d5dcad3f9bf5cdf404e7ae210
parent82a2894be479ea88ebe28e72a7709b94203b096c (diff)
downloademacs-fae1ff69c3fd84f208b7b803adafeb95a36e44e7.tar.gz
emacs-fae1ff69c3fd84f208b7b803adafeb95a36e44e7.zip
Fix docstrings in pong
* lisp/play/pong.el (pong-move-left pong-move-right): Refer to the right bats and directions of movement. (Bug#36959)
-rw-r--r--lisp/play/pong.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/play/pong.el b/lisp/play/pong.el
index 555c1939d26..13fe8b82a41 100644
--- a/lisp/play/pong.el
+++ b/lisp/play/pong.el
@@ -262,7 +262,7 @@
262 262
263 263
264(defun pong-move-left () 264(defun pong-move-left ()
265 "Move bat 2 up. 265 "Move bat 1 up.
266This is called left for historical reasons, since in some pong 266This is called left for historical reasons, since in some pong
267implementations you move with left/right paddle." 267implementations you move with left/right paddle."
268 (interactive) 268 (interactive)
@@ -274,7 +274,7 @@ implementations you move with left/right paddle."
274 274
275 275
276(defun pong-move-right () 276(defun pong-move-right ()
277 "Move bat 2 up." 277 "Move bat 1 down."
278 (interactive) 278 (interactive)
279 (if (< (+ pong-bat-player1 pong-bat-width) (1- pong-height)) 279 (if (< (+ pong-bat-player1 pong-bat-width) (1- pong-height))
280 (and 280 (and