emacs-devel
[Top][All Lists]
Advanced

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

Re: Identifying the face between STRETCH and right fringe.


From: Eli Zaretskii
Subject: Re: Identifying the face between STRETCH and right fringe.
Date: Wed, 28 Nov 2018 11:49:54 +0200

> Date: Wed, 28 Nov 2018 11:42:40 +0200
> From: Eli Zaretskii <address@hidden>
> Cc: address@hidden
> 
> > From: Robert Pluim <address@hidden>
> > Cc: address@hidden
> > Date: Wed, 28 Nov 2018 10:00:53 +0100
> > 
> > In this particular case extend_face_to_end_of_line has already done:
> > 
> >   default_face =
> >     FACE_FROM_ID_OR_NULL (f, lookup_basic_face (it->w, f, DEFAULT_FACE_ID));
> > 
> > so there'd be no additional cost
> 
> Yes, but this part could (and probably should) be moved to after the
> 'return', because default_face is not used before that.

And btw, when the default face is remapped, its background color no
longer has to be the same as the frame's background, right?  Which I
guess is another reason why we use FRAME_BACKGROUND_PIXEL there.



reply via email to

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