This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Updated: emacs*-24.2.90-1 (TEST)


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.


Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]