X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-7.6 required=5.0 tests=AWL,BAYES_00,KHOP_PGP_SIGNED,KHOP_THREADED,RP_MATCHES_RCVD,SPF_HELO_PASS,TW_GT X-Spam-Check-By: sourceware.org Message-ID: <50C117C1.50104@dancol.org> Date: Thu, 06 Dec 2012 14:10:09 -0800 From: Daniel Colascione User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Updated: emacs*-24.2.90-1 (TEST) References: <50C08983 DOT 8000806 AT cornell DOT edu> <87ip8f10hc DOT fsf AT Rainer DOT invalid> <50C1076F DOT 3000107 AT cornell DOT edu> <877gou980c DOT fsf AT Rainer DOT invalid> <50C11251 DOT 4040904 AT dancol DOT org> <87y5ha7sob DOT fsf AT Rainer DOT invalid> In-Reply-To: <87y5ha7sob.fsf@Rainer.invalid> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig73783CA1FEA186A1474A734C" X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com --------------enig73783CA1FEA186A1474A734C Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 12/6/12 1:54 PM, Achim Gratz wrote: > Daniel Colascione writes: >> Under Cygwin, the variable system-type will be 'cygwin; under Windows, >> it will be 'windows-nt. You can perform conditional initialization as >> follows: >> >> (cond ((eq system-type 'cygwin) (cygwin-specific-initialization)) >> ((eq system-type 'windows-nt) (windows-specific-initialization)) >> (t (default-initialization)) >=20 > I need to keep the emacs-w32 and emacs-gtk under cygwin apart and AFAIK > they both get reported as 'cygwin. So I was looking for a way to know > this other than by looking at the build string. Ah. You want (window-system) then. --------------enig73783CA1FEA186A1474A734C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (Darwin) Comment: GPGTools - http://gpgtools.org iEYEARECAAYFAlDBF8EACgkQ17c2LVA10VvyOQCeJ8F+k04BykRpx9S95Q4ngfvc 6hYAnj4hiE3HcJcbpRIEmOcvVCOF58qT =XpZl -----END PGP SIGNATURE----- --------------enig73783CA1FEA186A1474A734C--