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

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

RE: Setting fonts in new frames


From: Ewen Cartwright
Subject: RE: Setting fonts in new frames
Date: Wed, 3 Jan 2007 21:13:52 -0000

Thanks very much -- don't know how I missed that... 

-----Original Message-----
From: help-gnu-emacs-bounces+ejc=abcam.com@gnu.org
[mailto:help-gnu-emacs-bounces+ejc=abcam.com@gnu.org] On Behalf Of Kevin
Rodgers
Sent: 03 January 2007 19:26
To: help-gnu-emacs@gnu.org
Subject: Re: Setting fonts in new frames

Ewen Cartwright wrote:
> I set the font for my emacs sessions (ntemacs-22) in my .emacs file
> thus:
> 
> (set-default-font "-*-Lucida Sans
> Typewriter-normal-r-*-*-12-*-*-*-c-*-*-iso8859-1")
> 
> Which works fine. But every time I open a new frame I get plain old 
> Courier. I've looked for frame-opening hooks where I can run 
> set-default-font to get my own font choice in them but nothing I've 
> tried seems to work. Anyone know how I can achieve this?

(add-to-list 'default-frame-alist
             '(font . "-*-Lucida Sans
Typewriter-normal-r-*-*-12-*-*-*-c-*-*-iso8859-1"))

--
Kevin



_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs




reply via email to

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