]> git.eshelyaron.com Git - emacs.git/commitdiff
(read-zippyism): New function.
authorRoland McGrath <roland@gnu.org>
Fri, 17 Sep 1993 18:52:33 +0000 (18:52 +0000)
committerRoland McGrath <roland@gnu.org>
Fri, 17 Sep 1993 18:52:33 +0000 (18:52 +0000)
lisp/play/yow.el

index fd90d3677f1fd17e9fea1c3d81408cde775b4893..d25c6910e6915301a627b380b7e4fdb122088f0d 100644 (file)
           (with-output-to-temp-buffer "*Help*"
             (princ yow))))))
 
+(defsubst read-zippyism (prompt &optional require-match)
+  "Read a Zippyism from the minibuffer with completion, prompting with PROMPT.
+If optional second arg is non-nil, require input to match a completion."
+  (read-cookie prompt yow-file
+              "Am I CONSING yet?..." "I have SEEN the CONSING!!"
+              require-match))
 \f
 ; Yowza!! Feed zippy quotes to the doctor. Watch results.
 ; fun, fun, fun. Entertainment for hours...