From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?B?xaB0xJtww6FuIE7Em21lYw==?= Newsgroups: gmane.emacs.devel 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 Message-ID: <87aaja5sq4.fsf@gmail.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1294565621 22793 80.91.229.12 (9 Jan 2011 09:33:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 9 Jan 2011 09:33:41 +0000 (UTC) Cc: emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 09 10:33:37 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pbreb-0002ZI-9f for ged-emacs-devel@m.gmane.org; Sun, 09 Jan 2011 10:33:37 +0100 Original-Received: from localhost ([127.0.0.1]:40510 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pbrea-0001jQ-Be for ged-emacs-devel@m.gmane.org; Sun, 09 Jan 2011 04:33:36 -0500 Original-Received: from [140.186.70.92] (port=47446 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PbreS-0001jJ-Ec for emacs-devel@gnu.org; Sun, 09 Jan 2011 04:33:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PbreR-00025k-6Z for emacs-devel@gnu.org; Sun, 09 Jan 2011 04:33:28 -0500 Original-Received: from mail-bw0-f41.google.com ([209.85.214.41]:34968) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PbreR-00025V-1B for emacs-devel@gnu.org; Sun, 09 Jan 2011 04:33:27 -0500 Original-Received: by bwz16 with SMTP id 16so21001084bwz.0 for ; Sun, 09 Jan 2011 01:33:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject :in-reply-to:references:user-agent:date:message-id:mime-version :content-type; bh=nGodM3+xHc0JXVfHagAEYnIE6tf5l82fKsU2Fr5CBDc=; b=U8wfLUWBJQGsxk17jv60RjIZDEpLRbq/NoWBnmklrU85YktAD4LJJ9wBUgIlhtU25p jIKEQw8CmQKyD1QhNVc6T2HYOt28LZ8IZQCzP2tZ0JueRiRNCeA/kxxTTHRYlldbWsEY g6WnWNTrwK0jXdMEJgFwzUynv0FPP2FicyyKI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type; b=MU/mBjo4ZNaSo+pH4GoLo2gbs+dZ8M+y7YdjPFRJWapsqpzAgEkg7lU2vIlOYBmDm5 /FztAYZ1My7Ku3AiANClCL7n50BadO41WP0v2VMuydmEvZuQvtJY4pgL/hNEtpsnbTBJ rZywxTMOy55XBmoKhb6FUi3crc5RrwU+dvi8o= Original-Received: by 10.204.119.204 with SMTP id a12mr6442033bkr.116.1294565605996; Sun, 09 Jan 2011 01:33:25 -0800 (PST) Original-Received: from localhost (176.119.broadband10.iol.cz [90.177.119.176]) by mx.google.com with ESMTPS id b17sm15112991bku.20.2011.01.09.01.33.23 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 09 Jan 2011 01:33:24 -0800 (PST) In-Reply-To: (Chong Yidong's message of "Sat, 08 Jan 2011 16:17:58 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:134382 Archived-At: Chong Yidong writes: > ------------------------------------------------------------ > revno: 102794 > committer: Chong Yidong > 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.