From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: christopherpenrose@gmail.com Newsgroups: gmane.emacs.help Subject: Re: way to discriminate between Emacs.app or terminal launch of Emacs in init.el Date: Mon, 17 Aug 2015 15:41:30 -0700 (PDT) Message-ID: <3899e392-d8aa-4ce1-b718-38f1d55f3e78@googlegroups.com> References: <17805043-1393-49a5-ad64-2010da9b1473@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1439904640 6307 80.91.229.3 (18 Aug 2015 13:30:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Aug 2015 13:30:40 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 18 15:30:39 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZRgyN-00037V-9U for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Aug 2015 15:30:39 +0200 Original-Received: from localhost ([::1]:56846 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRgeH-0000EJ-Dx for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Aug 2015 09:09:53 -0400 X-Received: by 10.107.128.203 with SMTP id k72mr3149563ioi.26.1439851291334; Mon, 17 Aug 2015 15:41:31 -0700 (PDT) X-Received: by 10.182.60.130 with SMTP id h2mr24943obr.28.1439851291180; Mon, 17 Aug 2015 15:41:31 -0700 (PDT) Original-Path: usenet.stanford.edu!x6no1570037igd.0!news-out.google.com!o13ni16129igw.0!nntp.google.com!x6no1570036igd.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: <17805043-1393-49a5-ad64-2010da9b1473@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=198.105.65.197; posting-account=he-PHQkAAABX8Kbww2SBPJKk9htFQETZ Original-NNTP-Posting-Host: 198.105.65.197 User-Agent: G2/1.0 Injection-Date: Mon, 17 Aug 2015 22:41:31 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:214369 X-Mailman-Approved-At: Tue, 18 Aug 2015 09:08:55 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:106670 Archived-At: For now I am simply using emacs-version in a conditional. Yosemite still has Emacs 22 and I can simply use that as a distinction for now. Is there a terminal type variable or such that might work better?