aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1994-11-09 05:48:50 +0000
committerKarl Heuer1994-11-09 05:48:50 +0000
commitea1650729fa9f75ceaa4b4ef02622ef3fa78c6eb (patch)
tree399bcd008cdc6ddb42978a87274cefac070d82a4
parent6d94c1b4cbe63d791e81b701822678ede5542918 (diff)
downloademacs-ea1650729fa9f75ceaa4b4ef02622ef3fa78c6eb.tar.gz
emacs-ea1650729fa9f75ceaa4b4ef02622ef3fa78c6eb.zip
(disabled-command-hook): Set help-mode in *Help* buffer.
-rw-r--r--lisp/novice.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/novice.el b/lisp/novice.el
index 1e611ce0490..ad9fc94655c 100644
--- a/lisp/novice.el
+++ b/lisp/novice.el
@@ -71,7 +71,10 @@
71Space to try the command just this once, 71Space to try the command just this once,
72 but leave it disabled, 72 but leave it disabled,
73Y to try it and enable it (no questions if you use it again), 73Y to try it and enable it (no questions if you use it again),
74N to do nothing (command remains disabled).")) 74N to do nothing (command remains disabled).")
75 (save-excursion
76 (set-buffer standard-output)
77 (help-mode)))
75 (message "Type y, n or Space: ") 78 (message "Type y, n or Space: ")
76 (let ((cursor-in-echo-area t)) 79 (let ((cursor-in-echo-area t))
77 (while (not (memq (setq char (downcase (read-char))) 80 (while (not (memq (setq char (downcase (read-char)))