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

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

Re: Semi-OT: font advice


From: Kevin Rodgers
Subject: Re: Semi-OT: font advice
Date: Thu, 22 Apr 2004 10:38:19 -0600
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

Jesse Sheidlower wrote:
> Another thing is that when I do specify a font in my .emacs with
> something like
>
> (set-face-font 'default 
"-Misc-Fixed-Medium-R-Normal--15-140-75-75-C-90-ISO8859-1")
>
> I then can't run Emacs in a terminal window (i.e. starting up
> with "emacs -nw")--I get a error "Error in init file: error:
> "X windows are not in use or not initialized"". Assuming I do
> eventually find a nice font, how do I use it in X without
> screwing up my non-X sessions?

(when (eq window-system 'x)     ; or better yet: (display-multi-font-p)
  (set-face-font ...))

--
Kevin Rodgers



reply via email to

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