diff options
| author | Glenn Morris | 2013-06-21 00:35:33 -0700 |
|---|---|---|
| committer | Glenn Morris | 2013-06-21 00:35:33 -0700 |
| commit | e7a526e3beb2ddadaad24ccd26d75fb55f7965bd (patch) | |
| tree | 1314a1e6270e066cf8956dbf1e35b1f9c71bd23e /lisp/obsolete | |
| parent | 62efb35e42807972b8599e52c42e2c7302e25aa8 (diff) | |
| download | emacs-e7a526e3beb2ddadaad24ccd26d75fb55f7965bd.tar.gz emacs-e7a526e3beb2ddadaad24ccd26d75fb55f7965bd.zip | |
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.
Diffstat (limited to 'lisp/obsolete')
| -rw-r--r-- | lisp/obsolete/yow.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/obsolete/yow.el b/lisp/obsolete/yow.el index 42bb0a0b354..abada670d6c 100644 --- a/lisp/obsolete/yow.el +++ b/lisp/obsolete/yow.el | |||
| @@ -60,7 +60,7 @@ | |||
| 60 | (defsubst read-zippyism (prompt &optional require-match) | 60 | (defsubst read-zippyism (prompt &optional require-match) |
| 61 | "Read a Zippyism from the minibuffer with completion, prompting with PROMPT. | 61 | "Read a Zippyism from the minibuffer with completion, prompting with PROMPT. |
| 62 | If optional second arg is non-nil, require input to match a completion." | 62 | If optional second arg is non-nil, require input to match a completion." |
| 63 | (read-cookie prompt yow-file yow-load-message yow-after-load-message | 63 | (cookie-read prompt yow-file yow-load-message yow-after-load-message |
| 64 | require-match)) | 64 | require-match)) |
| 65 | 65 | ||
| 66 | ;;;###autoload | 66 | ;;;###autoload |