diff src/fns.c @ 112321:dc74e58f6b0b

Merge from mainline.
author Paul Eggert <eggert@cs.ucla.edu>
date Tue, 11 Jan 2011 21:57:19 -0800
parents 7df2e30d72ec 1c4c22434b0d
children 56d3e9c28eb0
line wrap: on
line diff
--- a/src/fns.c	Sun Jan 09 00:42:24 2011 -0800
+++ b/src/fns.c	Tue Jan 11 21:57:19 2011 -0800
@@ -2460,10 +2460,13 @@
 
 DEFUN ("yes-or-no-p", Fyes_or_no_p, Syes_or_no_p, 1, MANY, 0,
        doc: /* Ask user a yes-or-no question.  Return t if answer is yes.
-Takes one argument, which is the string to display to ask the question.
-It should end in a space; `yes-or-no-p' adds `(yes or no) ' to it.
-The user must confirm the answer with RET,
-and can edit it until it has been confirmed.
+The string to display to ask the question is obtained by
+formatting the string PROMPT with arguments ARGS (see `format').
+The result should end in a space; `yes-or-no-p' adds
+\"(yes or no) \" to it.
+
+The user must confirm the answer with RET, and can edit it until it
+has been confirmed.
 
 Under a windowing system a dialog box will be used if `last-nonmenu-event'
 is nil, and `use-dialog-box' is non-nil.