[Top][All Lists]

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

Re: Default face problem

From: Kim F. Storm
Subject: Re: Default face problem
Date: Mon, 01 May 2006 14:49:23 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>> if (frame->default_face->font != frame->default_font)
>>   frame->default_font = frame->default_face->font;
> Which is equivalent to just
>   frame->default_font = frame->default_face->font;

Touche :-)

IIRC, setting the frame default font is a little
more trick than a mere assignment, so I should have written:

 if (frame->default_face->font != frame->default_font)
   set_frame_default_font(frame, frame->default_face->font;

Kim F. Storm <address@hidden> http://www.cua.dk

reply via email to

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