changeset 18951:a1041ace6786

(landmark-repeat, landmark): New aliases. Add autoload cookies.
author Richard M. Stallman <rms@gnu.org>
date Thu, 24 Jul 1997 18:22:33 +0000
parents b8d11c38bff9
children 4e695c86585c
files lisp/play/landmark.el
diffstat 1 files changed, 10 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/play/landmark.el	Thu Jul 24 18:18:49 1997 +0000
+++ b/lisp/play/landmark.el	Thu Jul 24 18:22:33 1997 +0000
@@ -1610,8 +1610,11 @@
 
 ;;;_ + lm-test-run ()
 
+;;;###autoload
+(defalias 'landmark-repeat 'lm-test-run)
+;;;###autoload
 (defun lm-test-run ()
-
+  "Run 100 Lm games, each time saving the weights from the previous game."
   (interactive)
 
   (lm 1)
@@ -1623,8 +1626,11 @@
 
 ;;;_ + lm: The function you invoke to play
 
+;;;###autoload
+(defalias 'landmark 'lm)
+;;;###autoload
 (defun lm (parg)
-  "Start an Lm game.
+  "Start or resume an Lm game.
 If a game is in progress, this command allows you to resume it.
 Here is the relation between prefix args and game options:
 
@@ -1635,7 +1641,8 @@
        3   | no                    | yes
        4   | no                    | no
 
-You start by moving to a square and typing \\[lm-start-robot]
+You start by moving to a square and typing \\[lm-start-robot],
+if you did not use a prefix arg to ask for automatic start.
 Use \\[describe-mode] for more info."
   (interactive "p")