Mercurial > emacs
comparison lisp/subr.el @ 12108:f75e47f673f4
(read-quoted-char): Turn on help-form and turn off help-char.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Wed, 07 Jun 1995 20:53:07 +0000 |
parents | 3fd7ef954be6 |
children | 95ebca0a74d8 |
comparison
equal
deleted
inserted
replaced
12107:5556c83c675a | 12108:f75e47f673f4 |
---|---|
706 represented by the octal number consisting of those digits. | 706 represented by the octal number consisting of those digits. |
707 Optional argument PROMPT specifies a string to use to prompt the user." | 707 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, | |
715 or 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))) |
715 (cond ((null char)) | 719 (cond ((null char)) |
716 ((and (<= ?0 char) (<= char ?7)) | 720 ((and (<= ?0 char) (<= char ?7)) |