summaryrefslogtreecommitdiff
path: root/lisp/play/yow.el
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1994-11-09 05:44:20 +0000
committerKarl Heuer <kwzh@gnu.org>1994-11-09 05:44:20 +0000
commitd10d0394a04280b86f37f61a76da662feaf0f9dd (patch)
treef5108f494037ddf4568086c36ddd612e77257b95 /lisp/play/yow.el
parent2eb6bfbe932b770b115d6625f7da3a13685dbfdf (diff)
downloademacs-d10d0394a04280b86f37f61a76da662feaf0f9dd.tar.gz
(yow): Set help-mode in *Help* buffer.
Diffstat (limited to 'lisp/play/yow.el')
-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 @@
(t
(message "Yow!")
(with-output-to-temp-buffer "*Help*"
- (princ yow))))))
+ (princ yow)
+ (save-excursion
+ (set-buffer standard-output)
+ (help-mode)))))))
(defsubst read-zippyism (prompt &optional require-match)
"Read a Zippyism from the minibuffer with completion, prompting with PROMPT.