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.
signature.asc
Description: OpenPGP digital signature