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

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

Re: Why my font setting changes?


From: Water Lin
Subject: Re: Why my font setting changes?
Date: Thu, 26 Nov 2009 09:50:45 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

address@hidden (Pascal J. Bourguignon) writes:

> Water Lin <address@hidden> writes:
>
>> I need to open some Emacs windows for better editing performances. One
>> for normal text editing and the other for ECB coding.
>>
>> But I don't know why my Emacs font changes when I use command
>> M-x new-frame to open a new Emacs frame.
>>
>> I just don't like the font Emacs using for my new frame. How can I set
>> this?
>
> You need to set the default frame parameters:
>
> (require 'cl)
> (let ((font-cell (assoc 'font default-frame-alist)))
>   (if font-cell 
>      (setf (cdr font-cell) "your-font")
>      (setf default-frame-alist (acons 'font "your-font" 
> default-frame-alist))))
>
>
> Or just M-x customize-variable RET default-frame-alist RET

OK. Thanks a lot

Water Lin

-- 
Water Lin's notes and pencils: http://en.waterlin.org
Email: address@hidden


reply via email to

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