From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: nunojsilva@invalid.invalid (Nuno J. Silva) Newsgroups: gmane.emacs.help Subject: Re: Detect if Emacs is running in -nw mode Date: Mon, 31 Mar 2008 08:32:32 +0100 Organization: Datemas.de http://www.datemas.de Message-ID: <87hcentkkv.fsf@invalid.invalid> References: <3P2dnatDgO4bJnLanZ2dnUVZ8vOdnZ2d@giganews.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1206970942 25695 80.91.229.12 (31 Mar 2008 13:42:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 31 Mar 2008 13:42: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 Mon Mar 31 15:42:51 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 1JgKHi-0002qE-DH for geh-help-gnu-emacs@m.gmane.org; Mon, 31 Mar 2008 15:42:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JgKH6-0000T6-C9 for geh-help-gnu-emacs@m.gmane.org; Mon, 31 Mar 2008 09:42:12 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!syros.belnet.be!news.belnet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeeder.dynfx.net!newsfeed.datemas.de!news.datemas.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 36 Original-X-Trace: news.datemas.de VPHQlb5gJH+9/TxC524gX/CPzCByuKV3upxCv0qF/oBfSTh9MiTD9m1yboAqjiQtL3WGNsw2LIV8pGprsCh/ZNhbr7yo1MdwlVKe6i1rlhq9yuYGVOIIIweldzhfLoxEqFjSLpnIjlEBURpwVVpfB2XUqDjUsoRM40Q51P6rUY5/kKgv3euNDA== Original-X-Complaints-To: abuse@datemas.de Original-NNTP-Posting-Date: Mon, 31 Mar 2008 07:33:16 +0000 (UTC) Cancel-Lock: sha1:PZVoL+6Cdki6HaUVvGj8t+hAmaY= User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/22.1 (gnu/linux) Original-Xref: shelby.stanford.edu gnu.emacs.help:157515 X-Mailman-Approved-At: Mon, 31 Mar 2008 09:40:34 -0400 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:52904 Archived-At: Christian Herenz writes: > Rupert Swarbrick schrieb: > >> (unless (function-returning-nil) 1 2 3) >> evaluates to 3. Not that that matters in this situation. >> Phew. That was more than I intended to write! Hope it makes things a >> little clearer. >> Rupert > > Yeah-- You wrote much, and I think you missed the point a little bit.. > > (unless nil (do-stuff) (do-other-stuff)) ... this would only do-stuff? This will do-stuff and do-other-stuff. > (unless nil ((do-stuff) (do-other-stuff)) would do-stuff and > do-other-stuff? And this will raise an error, I'm afraid. > > That was my actual question. -- Nuno J. Silva (aka njsg) LEIC student at Instituto Superior Técnico Lisbon, Portugal Homepage: http://njsg.no.sapo.pt/ Gopherspace: gopher://sdf-eu.org/11/users/njsg Registered Linux User #402207 - http://counter.li.org -=-=- A computer is like an air conditioner, it stops working when you open Windows.