unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Štěpán Němec" <stepnem@gmail.com>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: emacs-devel@gnu.org
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	[thread overview]
Message-ID: <87aaja5sq4.fsf@gmail.com> (raw)
In-Reply-To: <E1Pbh6v-00075u-WE@internal.in.savannah.gnu.org> (Chong Yidong's message of "Sat, 08 Jan 2011 16:17:58 -0500")

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.



       reply	other threads:[~2011-01-09  9:30 UTC|newest]

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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87aaja5sq4.fsf@gmail.com \
    --to=stepnem@gmail.com \
    --cc=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).