1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-07 12:20:39 -08:00
Commit graph

45 commits

Author SHA1 Message Date
Glenn Morris
b2bf2a254f Mention read-regexp in doc of functions that use it
* lisp/dired.el (dired-read-regexp):
* lisp/faces.el (list-faces-display):
* lisp/misearch.el (multi-isearch-read-matching-buffers)
(multi-isearch-read-matching-files):
* lisp/play/cookie1.el (cookie-apropos):
* lisp/progmodes/grep.el (grep-read-regexp): Doc fixes.
2014-02-13 22:59:24 -08:00
Glenn Morris
34dc21db6e Replace "Maintainer: FSF" with the emacs-devel mailing address 2014-02-09 17:34:22 -08:00
Paul Eggert
ba3189039a Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
Glenn Morris
2663dd23eb * lisp/play/cookie1.el (cookie-apropos): Minor simplification. 2013-06-21 20:37:18 -04:00
Glenn Morris
cad5d1cb5a Use cookie functions in yow
* play/cookie1.el (cookie-apropos): Add optional display argument.
* obsolete/yow.el (apropos-zippy): Use cookie-apropos.
(psychoanalyze-pinhead): Use cookie-doctor.
2013-06-21 09:00:00 -07:00
Glenn Morris
e7a526e3be cookie1.el small cleanup
Make some funcs interactive, copy some functionality from yow.el.

* lisp/play/cookie1.el (cookie): New custom group.
(cookie-file): New option.
(cookie-check-file): New function.
(cookie): Make it interactive.  Make start and end messages optional.
Interactively, display the result.  Default to cookie-file.
(cookie-insert): Default to cookie-file.
(cookie-snarf): Make start and end messages optional.
Default to cookie-file.  Use with-temp-buffer.
(cookie-read): Rename from read-cookie.
Make start and end messages optional.  Default to cookie-file.
(cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
(cookie-apropos, cookie-doctor): New functions, copied from yow.el

* lisp/obsolete/yow.el (read-zippyism): Use new name for read-cookie.
2013-06-21 00:35:33 -07:00
Paul Eggert
ab422c4d68 Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
Paul Eggert
0e23ef9dde Better seed support for (random).
* doc/lispref/numbers.texi (Random Numbers): Document new behavior of
the calls (random) and (random STRING).
* etc/NEWS: Document new behavior of (random), (random "string").
* lisp/play/5x5.el, lisp/play/animate.el, lisp/play/cookie1.el:
* lisp/play/dissociate.el, lisp/play/doctor.el, lisp/play/dunnet.el:
* lisp/play/gomoku.el, lisp/play/landmark.el, lisp/play/mpuz.el:
* lisp/play/tetris.el, lisp/play/zone.el:
* lisp/calc/calc-comb.el (math-init-random-base):
* lisp/play/blackbox.el (bb-init-board):
* lisp/play/life.el (life):
* lisp/server.el (server-use-tcp):
* lisp/type-break.el (type-break):
Remove unnecessary call to (random t).
* lisp/net/sasl.el (sasl-unique-id-function):
Change (random t) to (random), now that the latter is more random.
* lisp/play/life.el (life-initialized): Remove no-longer-needed var.
* lisp/gnus/gnus-sync.el (gnus-sync-lesync-setup):
* lisp/gnus/message.el (message-canlock-generate, message-unique-id):
Change (random t) to (random), now that the latter is more random.
* lisp/org/org-id.el (org-id-uuid):
Change (random t) to (random), now that the latter is more random.
* src/emacs.c (main): Call init_random.
* src/fns.c (Frandom): Set the seed from a string argument, if given.
Remove long-obsolete Gentzel cruft.
* src/lisp.h, src/sysdep.c (seed_random): Now takes address and size, not long.
(init_random): New function.
2012-08-31 18:04:26 -07:00
Glenn Morris
e3ad7552db * cookie1.el (cookie-snarf): Explicit error if input file cannot be read. 2012-04-16 15:04:27 -04:00
Glenn Morris
acaf905b11 Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
Paul Eggert
22bcf20469 Spelling fixes. 2011-12-30 17:27:15 -08:00
Glenn Morris
73b0cd5003 Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
Glenn Morris
0d9f702fd0 Nuke arch-tags. 2011-01-15 15:16:57 -08:00
Glenn Morris
5df4f04cd3 Add 2011 to FSF/AIST copyright years. 2011-01-02 15:50:46 -08:00
Łukasz Stelmach
d5720b4c5a play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921). 2010-08-26 17:33:52 +02:00
Glenn Morris
114f9c9679 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
Glenn Morris
ae940284fa Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
Magnus Henoch
fa68fa5933 Remove obsolete TO DO comment. (It was implemented on 1993-03-27.) 2008-06-01 14:42:21 +00:00
Glenn Morris
b1fc2b5014 Switch to recommended form of GPLv3 permissions notice. 2008-05-06 07:25:26 +00:00
Stefan Monnier
cbee283dd7 Fix up comment convention on the arch-tag lines. 2008-04-10 14:10:46 +00:00
Glenn Morris
2f043267ee Add 2008 to copyright years. 2008-01-07 02:00:47 +00:00
Glenn Morris
5a9dffec38 Switch license to GPLv3 or later. 2007-07-25 04:24:43 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Glenn Morris
f2e3589a33 Update copyright years. 2006-12-09 04:06:06 +00:00
Miles Bader
a2064b094c lisp/play/cookie1.el (cookie): Work properly when there's only one entry
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-323
2006-06-21 05:09:32 +00:00
Romain Francoise
1004fadc84 Update copyright notices of all files in the lisp/play directory. 2006-02-05 14:10:45 +00:00
Thien-Thi Nguyen
5fd6d89f46 Update years in copyright notice; nfc. 2005-08-01 15:47:19 +00:00
Lute Kamstra
3a35cf56e7 Update FSF's address. 2005-07-04 17:55:18 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Pavel Janík
132c0cc0ce (cookie, cookie-insert, shuffle-vector): Doc fixes. 2001-11-29 08:35:51 +00:00
Dave Love
0419a4af90 Add `extensions' to keywords, since it's internal. 2000-08-16 19:05:59 +00:00
Gerd Moellmann
96ce5c4f18 Add explanation of how to make cookie.el
compatible with strfile(1) to comment.
2000-07-27 20:07:12 +00:00
Richard M. Stallman
bfaef6dca8 (cookie-snarf): Use match-beginning on the delimiter.
(cookie-delimiter): Handle single-% delimiter.
1998-02-12 03:10:53 +00:00
Karl Heuer
4120f5f5d2 (cookie-snarf): Pass proper format string to message. 1996-01-25 00:51:58 +00:00
Erik Naggum
b578f267af Update FSF's address. 1996-01-14 07:34:30 +00:00
Roland McGrath
b81d991d75 (read-cookie): New function. 1993-09-17 18:51:05 +00:00
Paul Eggert
c5eeaf525f (pick-random): Remove.
All callers changed to use `random' instead.
1993-08-01 20:50:07 +00:00
Roland McGrath
f58c6f7023 (cookie, cookie-insert, cookie-snarf, shuffle-vector): Autoload these. 1993-07-18 19:56:35 +00:00
Roland McGrath
4054367c9e (cookie-cache): New defvar.
(cookie-snarf): Cache cookies in `cookie-cache', not in obarray (idiot).
Also store the modtime and punt the cache when it changes.
1993-07-14 23:36:04 +00:00
Richard M. Stallman
20a828956a Comment change. 1993-06-02 18:40:44 +00:00
Richard M. Stallman
3aa7cce7e4 Provide cookie1. 1993-06-01 06:02:24 +00:00
Richard M. Stallman
8eb74eecee Renamed to cookie1.el. 1993-06-01 04:26:42 +00:00
Eric S. Raymond
45b44a5a65 (cookie) Enhanced it to handle both LINS files and UNIX fortune files. 1993-03-27 01:58:33 +00:00
Eric S. Raymond
cf597dc8ab Add TO-DO list. 1993-03-22 23:00:48 +00:00
Eric S. Raymond
d5edbd116f Initial revision 1993-03-22 22:58:27 +00:00