Updated: emacs*-24.2.90-1 (TEST)

Daniel Colascione dancol@dancol.org
Thu Dec 6 22:10:00 GMT 2012


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))
> 
> 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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 235 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20121206/d98b72d2/attachment.sig>


More information about the Cygwin mailing list