summaryrefslogtreecommitdiff
path: root/lisp/map-ynp.el
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1994-11-09 05:48:55 +0000
committerKarl Heuer <kwzh@gnu.org>1994-11-09 05:48:55 +0000
commite134e0701ea21ecfb091e92c08b38ccd0f752920 (patch)
tree8eb8ad44493ef86677ff8aed68651c599fe5bad1 /lisp/map-ynp.el
parentf3af4d8f1bc006b8a9b8906c14faff9e35cdde89 (diff)
downloademacs-e134e0701ea21ecfb091e92c08b38ccd0f752920.tar.gz
(map-y-or-n-p): Set help-mode in *Help* buffer.
Diffstat (limited to 'lisp/map-ynp.el')
-rw-r--r--lisp/map-ynp.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/map-ynp.el b/lisp/map-ynp.el
index a96f72f61be..99e081bc9e9 100644
--- a/lisp/map-ynp.el
+++ b/lisp/map-ynp.el
@@ -202,7 +202,10 @@ ESC or `q' to exit;\n"
(if action-alist ";\n")
(format "or . (period) to %s \
the current %s and exit."
- action object)))))
+ action object))))
+ (save-excursion
+ (set-buffer standard-output)
+ (help-mode)))
(setq next (` (lambda ()
(setq next '(, next))