[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: /srv/bzr/emacs/trunk r102794: Doc fix for y-or-n-p and yes-or-no-p.
From: |
Štěpán Němec |
Subject: |
Re: /srv/bzr/emacs/trunk r102794: Doc fix for y-or-n-p and yes-or-no-p. |
Date: |
Sun, 09 Jan 2011 10:30:59 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Chong Yidong <address@hidden> writes:
> ------------------------------------------------------------
> revno: 102794
> committer: Chong Yidong <address@hidden>
> branch nick: trunk
> timestamp: Sat 2011-01-08 16:17:58 -0500
> message:
> Doc fix for y-or-n-p and yes-or-no-p.
[...]
> --- a/src/fns.c 2011-01-08 13:32:31 +0000
> +++ b/src/fns.c 2011-01-08 21:17:58 +0000
> @@ -2462,10 +2462,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; `y-or-n-p' adds \"(yes or no) \"
^^^^^^^^
`yes-or-no-p'
> +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.
- Re: /srv/bzr/emacs/trunk r102794: Doc fix for y-or-n-p and yes-or-no-p.,
Štěpán Němec <=