summaryrefslogtreecommitdiff
path: root/lisp/subr.el
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1995-06-07 20:53:07 +0000
committerKarl Heuer <kwzh@gnu.org>1995-06-07 20:53:07 +0000
commit42e636f0407a713684c7411db6f2944bfeca4507 (patch)
tree426467fcdea9bcd3024794967160079d3f8cff88 /lisp/subr.el
parentf7aabd88d83b859f9236f4b3e324c87166740926 (diff)
downloademacs-42e636f0407a713684c7411db6f2944bfeca4507.tar.gz
(read-quoted-char): Turn on help-form and turn off help-char.
Diffstat (limited to 'lisp/subr.el')
-rw-r--r--lisp/subr.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index 93165de8c00..36c61513864 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -708,7 +708,11 @@ Optional argument PROMPT specifies a string to use to prompt the user."
(let ((message-log-max nil) (count 0) (code 0) char)
(while (< count 3)
(let ((inhibit-quit (zerop count))
- (help-form nil))
+ ;; Don't let C-h get the help message--only help function keys.
+ (help-char nil)
+ (help-form
+ "Type the special character you want to use,
+or three octal digits representing its character code."))
(and prompt (message "%s-" prompt))
(setq char (read-char))
(if inhibit-quit (setq quit-flag nil)))