aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1994-11-09 05:44:20 +0000
committerKarl Heuer1994-11-09 05:44:20 +0000
commitd10d0394a04280b86f37f61a76da662feaf0f9dd (patch)
treef5108f494037ddf4568086c36ddd612e77257b95
parent2eb6bfbe932b770b115d6625f7da3a13685dbfdf (diff)
downloademacs-d10d0394a04280b86f37f61a76da662feaf0f9dd.tar.gz
emacs-d10d0394a04280b86f37f61a76da662feaf0f9dd.zip
(yow): Set help-mode in *Help* buffer.
-rw-r--r--lisp/play/yow.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/play/yow.el b/lisp/play/yow.el
index b0c8475333f..cbaef0a2680 100644
--- a/lisp/play/yow.el
+++ b/lisp/play/yow.el
@@ -53,7 +53,10 @@
53 (t 53 (t
54 (message "Yow!") 54 (message "Yow!")
55 (with-output-to-temp-buffer "*Help*" 55 (with-output-to-temp-buffer "*Help*"
56 (princ yow)))))) 56 (princ yow)
57 (save-excursion
58 (set-buffer standard-output)
59 (help-mode)))))))
57 60
58(defsubst read-zippyism (prompt &optional require-match) 61(defsubst read-zippyism (prompt &optional require-match)
59 "Read a Zippyism from the minibuffer with completion, prompting with PROMPT. 62 "Read a Zippyism from the minibuffer with completion, prompting with PROMPT.