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

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

Re: setting the font in .emacs


From: Benjamin Lewis
Subject: Re: setting the font in .emacs
Date: Mon, 23 Sep 2002 12:40:55 -0700
User-agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.1 (sparc-sun-solaris2.8)

On Sun, 22 Sep 2002, address@hidden wrote:

>>>>>> "os" == Oliver Scholz <address@hidden> writes:
> 
> os> (set-face-font 'default
> os> "-b&h-lucidatypewriter-medium-r-*-*-*-140-*-*-*-*-iso8859-1")
> 
> 
> That was something I had not yet found out, but actually solved one of
> my small problems. Tried it and it worked perfectly.
> 
> Unfortunately I use emacs at the cli as well and this generates an
> error if emacs is started outside of X. How should it be modified to
> only apply ix X is running, there by not generating the error?

How about 
(if window-system
   (set-face...))

-- 
Benjamin Lewis

On a paper submitted by a physicist colleague: 
"This isn't right.  This isn't even wrong."    -- Wolfgang Pauli


reply via email to

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