| Re: Carbon emacs (OSX) & /usr/bin/emacs using the same .emacs |
|
 |
|
 |
|
 |
|
 |
Group: gnu.emacs.help · Group Profile
Author: Nikolaj SchumacherNikolaj Schumacher Date: Aug 26, 2008 03:45
> 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
|