aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/fns.c11
2 files changed, 11 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index aad0050f0bd..34154e3bf28 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12011-01-08 Chong Yidong <cyd@stupidchicken.com>
2
3 * fns.c (Fyes_or_no_p): Doc fix.
4
12011-01-08 Andreas Schwab <schwab@linux-m68k.org> 52011-01-08 Andreas Schwab <schwab@linux-m68k.org>
2 6
3 * fns.c (Fyes_or_no_p): Add usage. 7 * fns.c (Fyes_or_no_p): Add usage.
diff --git a/src/fns.c b/src/fns.c
index ddc193d85e4..e59bf212105 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -2462,10 +2462,13 @@ do_yes_or_no_p (Lisp_Object prompt)
2462 2462
2463DEFUN ("yes-or-no-p", Fyes_or_no_p, Syes_or_no_p, 1, MANY, 0, 2463DEFUN ("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.
2465Takes one argument, which is the string to display to ask the question. 2465The string to display to ask the question is obtained by
2466It should end in a space; `yes-or-no-p' adds `(yes or no) ' to it. 2466formatting the string PROMPT with arguments ARGS (see `format').
2467The user must confirm the answer with RET, 2467The result should end in a space; `y-or-n-p' adds \"(yes or no) \"
2468and can edit it until it has been confirmed. 2468to it.
2469
2470The user must confirm the answer with RET, and can edit it until it
2471has been confirmed.
2469 2472
2470Under a windowing system a dialog box will be used if `last-nonmenu-event' 2473Under a windowing system a dialog box will be used if `last-nonmenu-event'
2471is nil, and `use-dialog-box' is non-nil. 2474is nil, and `use-dialog-box' is non-nil.