X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-3.7 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_HELO_PASS,TW_GT X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Achim Gratz Subject: Re: Updated: emacs*-24.2.90-1 (TEST) Date: Thu, 06 Dec 2012 22:54:28 +0100 Lines: 21 Message-ID: <87y5ha7sob.fsf@Rainer.invalid> 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> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.90 (gnu/linux) 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 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)) 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. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Wavetables for the Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple