[Top][All Lists]

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

RE: set default font for new frame

From: Herbert Euler
Subject: RE: set default font for new frame
Date: Wed, 28 Mar 2007 18:45:46 +0800

Hi there, I wonder how to set the new frame's font. Now I had
(set-default-font "MyFontName") written in ~/.emacs. I can see the right
font when I start emacs. But the font changed after I called C-x 5 2 to
make a new frame. Could someone told me a solution? Thanks.

You can try something like this:

(add-to-list 'default-frame-alist '(font . FONT-NAME))

Where FONT-NAME is the name of your prefered font.

Guanpeng Xu

Don't just search. Find. Check out the new MSN Search!

reply via email to

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