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: David Forrest
Subject: Re: setting the font in .emacs
Date: Sun, 22 Sep 2002 16:52:36 -0400

On Sun, 22 Sep 2002, Keith 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?

Use the variable window-system:

(when window-system (...))

Dave
-- 
 Dave Forrest                                   address@hidden
 (804)642-0662h (434)924-3954w  http://mug.sys.virginia.edu/~drf5n/



reply via email to

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