summaryrefslogtreecommitdiff
path: root/lisp/play/cookie1.el
diff options
context:
space:
mode:
authorPavel Janík <Pavel@Janik.cz>2001-11-29 08:35:51 +0000
committerPavel Janík <Pavel@Janik.cz>2001-11-29 08:35:51 +0000
commit132c0cc0ce08f7fb2542f4e30a7d0eabcb5e66d7 (patch)
treed602874f3d99b2397c84ec06e6f638c500b2cfef /lisp/play/cookie1.el
parentdd536f948d976d4ad88be895203abaaf78b52cf4 (diff)
downloademacs-132c0cc0ce08f7fb2542f4e30a7d0eabcb5e66d7.tar.gz
(cookie, cookie-insert, shuffle-vector): Doc fixes.
Diffstat (limited to 'lisp/play/cookie1.el')
-rw-r--r--lisp/play/cookie1.el12
1 files changed, 7 insertions, 5 deletions
diff --git a/lisp/play/cookie1.el b/lisp/play/cookie1.el
index 2c3ff16fe13..cd3c715bc99 100644
--- a/lisp/play/cookie1.el
+++ b/lisp/play/cookie1.el
@@ -69,16 +69,18 @@
;;;###autoload
(defun cookie (phrase-file startmsg endmsg)
- "Return a random phrase from PHRASE-FILE. When the phrase file
-is read in, display STARTMSG at beginning of load, ENDMSG at end."
+ "Return a random phrase from PHRASE-FILE.
+When the phrase file is read in, display STARTMSG at the beginning
+of load, ENDMSG at the end."
(let ((cookie-vector (cookie-snarf phrase-file startmsg endmsg)))
(shuffle-vector cookie-vector)
(aref cookie-vector 1)))
;;;###autoload
(defun cookie-insert (phrase-file &optional count startmsg endmsg)
- "Insert random phrases from PHRASE-FILE; COUNT of them. When the phrase file
-is read in, display STARTMSG at beginning of load, ENDMSG at end."
+ "Insert random phrases from PHRASE-FILE; COUNT of them.
+When the phrase file is read in, display STARTMSG at the beginning
+of load, ENDMSG at the end."
(let ((cookie-vector (cookie-snarf phrase-file startmsg endmsg)))
(shuffle-vector cookie-vector)
(let ((start (point)))
@@ -151,7 +153,7 @@ Optional fifth arg REQUIRE-MATCH non-nil forces a matching cookie."
;
;;;###autoload
(defun shuffle-vector (vector)
- "Randomly permute the elements of VECTOR (all permutations equally likely)"
+ "Randomly permute the elements of VECTOR (all permutations equally likely)."
(let ((i 0)
j
temp