From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Oleksandr Gavenko Newsgroups: gmane.emacs.help Subject: Re: An elisp question Date: Fri, 19 Sep 2008 21:17:48 +0300 Organization: Aioe.org NNTP Server Message-ID: References: <87zlm7alrq.fsf@gmail.com> Reply-To: gavenkoa@gmail.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1221849682 15897 80.91.229.12 (19 Sep 2008 18:41:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 19 Sep 2008 18:41:22 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 19 20:42:19 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Kgkvk-00040F-C8 for geh-help-gnu-emacs@m.gmane.org; Fri, 19 Sep 2008 20:42:12 +0200 Original-Received: from localhost ([127.0.0.1]:40608 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kgkuj-0006lM-2g for geh-help-gnu-emacs@m.gmane.org; Fri, 19 Sep 2008 14:41:09 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!feeder.erje.net!news.k-dsl.de!aioe.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 10 Original-NNTP-Posting-Host: rEc5gIP37ngZufdNEy5rew.user.aioe.org Original-X-Complaints-To: abuse@aioe.org User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) Original-Xref: news.stanford.edu gnu.emacs.help:162472 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:57813 Archived-At: Nikolaj Schumacher пишет: > > Incidentally, if anything, testing for t is more correct. :) The doc for > `y-or-n-p' clearly states, it will return t for "yes". It could be > extended to return 'cancel without changing the interface. Using any > non-nil value as "yes" is indeed an assumption. (Not that it's likely > to break, or that I haven't made that assumption myself...) Thanks, yes for some functions there may by side effect with non-nil as true!