[Top][All Lists]

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

Re: installing emacs and X11 on OS X

From: John Paul Wallington
Subject: Re: installing emacs and X11 on OS X
Date: Wed, 23 Oct 2002 15:08:50 +0100
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu)

Hugo Wolf <> wrote:

> Which leads me to a new question: is there a variable or function
> which identifies the carbon build?  At the moment I'm using 
>  (fboundp 'do-applescript)
> which really feels like hack.  Is there a cleaner check?

The value of the variable `window-system' is `x' under X-Windows,
`mac' under Carbon, and `tty' for a Terminal.

e.g.: (eq window-system 'mac) could replace your check.

Also, it may be better to test for specific capabilities, so that when
the Carbon build gets them your configuration will use them.  e.g.:

(if (display-images-p)
    (auto-image-file-mode t))

John Paul Wallington

reply via email to

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