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: Kevin Rodgers
Subject: Re: Setting fonts in new frames
Date: Wed, 03 Jan 2007 12:26:06 -0700
User-agent: Thunderbird 1.5.0.9 (Windows/20061207)

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





reply via email to

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