]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix docstrings in pong
authorMauro Aranda <maurooaranda@gmail.com>
Wed, 7 Aug 2019 14:55:54 +0000 (11:55 -0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 10 Aug 2019 08:53:18 +0000 (11:53 +0300)
* lisp/play/pong.el (pong-move-left pong-move-right): Refer to the
right bats and directions of movement.  (Bug#36959)

lisp/play/pong.el

index 555c1939d2601b695891f8ffa1f58dc479ae2a95..13fe8b82a415f60e8ef9e64eab9dcc0c265742d0 100644 (file)
 
 
 (defun pong-move-left ()
-  "Move bat 2 up.
+  "Move bat 1 up.
 This is called left for historical reasons, since in some pong
 implementations you move with left/right paddle."
   (interactive)
@@ -274,7 +274,7 @@ implementations you move with left/right paddle."
 
 
 (defun pong-move-right ()
-  "Move bat 2 up."
+  "Move bat 1 down."
   (interactive)
   (if (< (+ pong-bat-player1 pong-bat-width) (1- pong-height))
       (and