aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChong Yidong2011-01-09 09:26:29 -0500
committerChong Yidong2011-01-09 09:26:29 -0500
commit973f1f2a8155542e97b9043ef7d233a93212a0fa (patch)
treec6969c7393ab4d75a802871aaccc424d652a4bbc /src
parentb7617f6d8b78434a5b208df8a17a8cf8d68b4d7c (diff)
downloademacs-973f1f2a8155542e97b9043ef7d233a93212a0fa.tar.gz
emacs-973f1f2a8155542e97b9043ef7d233a93212a0fa.zip
* lisp/subr.el (read-char-choice): Use read-key. Suggested by Stefan.
* src/fns.c (Fyes_or_no_p): Minor doc fix.
Diffstat (limited to 'src')
-rw-r--r--src/fns.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fns.c b/src/fns.c
index e59bf212105..3b0a19e9239 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -2464,8 +2464,8 @@ DEFUN ("yes-or-no-p", Fyes_or_no_p, Syes_or_no_p, 1, MANY, 0,
2464 doc: /* Ask user a yes-or-no question. Return t if answer is yes. 2464 doc: /* Ask user a yes-or-no question. Return t if answer is yes.
2465The string to display to ask the question is obtained by 2465The string to display to ask the question is obtained by
2466formatting the string PROMPT with arguments ARGS (see `format'). 2466formatting the string PROMPT with arguments ARGS (see `format').
2467The result should end in a space; `y-or-n-p' adds \"(yes or no) \" 2467The result should end in a space; `yes-or-no-p' adds
2468to it. 2468\"(yes or no) \" to it.
2469 2469
2470The user must confirm the answer with RET, and can edit it until it 2470The user must confirm the answer with RET, and can edit it until it
2471has been confirmed. 2471has been confirmed.