unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: /srv/bzr/emacs/trunk r102794: Doc fix for y-or-n-p and yes-or-no-p.
       [not found] <E1Pbh6v-00075u-WE@internal.in.savannah.gnu.org>
@ 2011-01-09  9:30 ` Štěpán Němec
  2011-01-09 17:57   ` Chong Yidong
  0 siblings, 1 reply; 2+ messages in thread
From: Štěpán Němec @ 2011-01-09  9:30 UTC (permalink / raw)
  To: Chong Yidong; +Cc: emacs-devel

Chong Yidong <cyd@stupidchicken.com> writes:

> ------------------------------------------------------------
> revno: 102794
> committer: Chong Yidong <cyd@stupidchicken.com>
> 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.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: /srv/bzr/emacs/trunk r102794: Doc fix for y-or-n-p and yes-or-no-p.
  2011-01-09  9:30 ` /srv/bzr/emacs/trunk r102794: Doc fix for y-or-n-p and yes-or-no-p Štěpán Němec
@ 2011-01-09 17:57   ` Chong Yidong
  0 siblings, 0 replies; 2+ messages in thread
From: Chong Yidong @ 2011-01-09 17:57 UTC (permalink / raw)
  To: Štěpán Němec; +Cc: emacs-devel

Štěpán Němec <stepnem@gmail.com> writes:

>> +The result should end in a space; `y-or-n-p' adds \"(yes or no) \"
>                                       ^^^^^^^^
>                                       `yes-or-no-p'

Thanks.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-01-09 17:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1Pbh6v-00075u-WE@internal.in.savannah.gnu.org>
2011-01-09  9:30 ` /srv/bzr/emacs/trunk r102794: Doc fix for y-or-n-p and yes-or-no-p Štěpán Němec
2011-01-09 17:57   ` Chong Yidong

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).