Re: Carbon emacs (OSX) & /usr/bin/emacs using the same .emacs
  Home FAQ Contact Sign in
gnu.emacs.help only
 
Advanced search
POPULAR GROUPS

more...

 Up
Re: Carbon emacs (OSX) & /usr/bin/emacs using the same .emacs         

Group: gnu.emacs.help · Group Profile
Author: Nikolaj Schumacher
Date: Aug 26, 2008 03:45

Peter Dyballa wrote:
> Am 25.08.2008 um 21:27 schrieb jOHn wONg:
>
>> Of course the above is for detecting windows, is there any parameter
>> that can let me tell the difference between Carbon Emacs and /usr/bin/
>> emacs Emacs (in darwin shell)?

Yes, `window-system' is 'mac in Carbon Emacs. In terminals it is nil.
In both `system-type' is 'darwin.
> The versions of both Emacsen are different. Emacs-major-version is 21 for
> Apple's non-windowing version.

That depends on the OSX version. 10.5 has 22.1.1.

regards,
Nikolaj Schumacher
no comments
diggit! del.icio.us! reddit!