aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1995-06-07 20:53:07 +0000
committerKarl Heuer1995-06-07 20:53:07 +0000
commit42e636f0407a713684c7411db6f2944bfeca4507 (patch)
tree426467fcdea9bcd3024794967160079d3f8cff88
parentf7aabd88d83b859f9236f4b3e324c87166740926 (diff)
downloademacs-42e636f0407a713684c7411db6f2944bfeca4507.tar.gz
emacs-42e636f0407a713684c7411db6f2944bfeca4507.zip
(read-quoted-char): Turn on help-form and turn off help-char.
-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."
708 (let ((message-log-max nil) (count 0) (code 0) char) 708 (let ((message-log-max nil) (count 0) (code 0) char)
709 (while (< count 3) 709 (while (< count 3)
710 (let ((inhibit-quit (zerop count)) 710 (let ((inhibit-quit (zerop count))
711 (help-form nil)) 711 ;; Don't let C-h get the help message--only help function keys.
712 (help-char nil)
713 (help-form
714 "Type the special character you want to use,
715or three octal digits representing its character code."))
712 (and prompt (message "%s-" prompt)) 716 (and prompt (message "%s-" prompt))
713 (setq char (read-char)) 717 (setq char (read-char))
714 (if inhibit-quit (setq quit-flag nil))) 718 (if inhibit-quit (setq quit-flag nil)))