help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: How can Emacs tell if it's started with Xwindow?


From: Benjamin Riefenstahl
Subject: Re: How can Emacs tell if it's started with Xwindow?
Date: Thu, 15 May 2003 19:11:58 +0200
User-agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.2 (gnu/linux)

Hi,


Wang Yin <address@hidden> writes:
> I want to define some font in my .emacs file as:
>
> (create-fontset-from-fontset-spec
>  "-adobe-courier-medium-r-*-*-14-*-*-*-*-*-fontset-wangyin,
> [...]
>
> How can I add a predicate to tell Emacs if we are in X?

You may want to use "(if (display-multi-font-p) ...".

X11 is not what you really specifically want in this place, even
though it may work in your current situation.  Therefore asking the
question that way is considered bad style.


so long, benny


reply via email to

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