From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Christian Herenz Newsgroups: gmane.emacs.help Subject: Re: Detect if Emacs is running in -nw mode Date: Mon, 31 Mar 2008 10:34:18 +0200 Organization: A noiseless patient Spider Message-ID: References: <3P2dnatDgO4bJnLanZ2dnUVZ8vOdnZ2d@giganews.com> <87r6dr5n3z.fsf@lion.rapttech.com.au> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1206953061 22888 80.91.229.12 (31 Mar 2008 08:44:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 31 Mar 2008 08:44:21 +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 10:44:53 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 1JgFdK-0003lV-Vy for geh-help-gnu-emacs@m.gmane.org; Mon, 31 Mar 2008 10:44:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JgFci-0003IE-Vh for geh-help-gnu-emacs@m.gmane.org; Mon, 31 Mar 2008 04:44:13 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!t-online.de!news.albasani.net!news.motzarella.org!motzarella.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 21 Original-X-Trace: feeder.motzarella.org U2FsdGVkX192RTRWxKQbreVvI1lamrExDTgaZCvzgstaEncu0BW+MORBvjUr4XJdkG0TpK3RgqZVZlt1ciMmbe3y9BFSiO8LhYcNFR3VrfQvPcQKEf3vJy6h+cs37WcujsP1SjSanLQ= Original-X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers Original-NNTP-Posting-Date: Mon, 31 Mar 2008 08:34:19 +0000 (UTC) In-Reply-To: <87r6dr5n3z.fsf@lion.rapttech.com.au> X-Auth-Sender: U2FsdGVkX18+Rq8mOEEFBvyUs5vcsXJgwWZfrVcYWjM= Cancel-Lock: sha1:UsTWoAcDPsAYZsOBSVLZB1Qrmg4= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.11) Gecko/20071128 SUSE/1.1.7-3.4 SeaMonkey/1.1.7 Mnenhy/0.7.5.0 Original-Xref: shelby.stanford.edu gnu.emacs.help:157523 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:52893 Archived-At: Tim X schrieb: > (unless condition > (do-thing-1 arg1) > (do-thing-2) > (do-thing-3 arg1 arg2)) > OK! > (if window-system > (do-true-thing) > (do-false-thing)) See! That was what confused me, I thought unless works like if, but obviously there is a difference. Thank you very much :-) Greets, Christian