emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: system-type


From: Stefan Monnier
Subject: Re: system-type
Date: Sat, 21 Mar 2009 14:59:46 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux)

>> > The text sounds as if this is exhaustive list, but then what is the
>> > value defined by the NextSTEP port?
>> Depends: if it's running under Mac OS X, it'll be `darwin', if it's
>> running under GNU/Linux it'll be `gnu/linux', ...
> `darwin' is not in that list.  Should it be added?

Yes.  It's in the docstring.

> Also, what with all the other Unixoid systems (which I presume we
> still support), like *BSD, Solaris, etc.?

As the docstring explains: "Anything else indicates some sort of
Unix system."

>> > If `system-type' is not the way
>> > to distinguish the NextSTEP port from other platforms, then what is?
>> window-system?
> That would fail under -nw, I think.  I used `(featurep 'ns)', which
> works, according to David Reitter.

Under -nw you shouldn't have to (need to) worry about nextstep.
At least, it seems no different than it was with Carbon before (or with
X11, ...).


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]