ptrdiff_t *endptr, ptrdiff_t limit,
int mouse, int base_face_id)
{
- struct frame *f = XFRAME (WVAR (w, frame));
+ struct frame *f = XFRAME (WGET (w, frame));
Lisp_Object attrs[LFACE_VECTOR_SIZE];
Lisp_Object prop, position;
ptrdiff_t i, noverlays;
/* Get the `face' or `mouse_face' text property at POS, and
determine the next position at which the property changes. */
- prop = Fget_text_property (position, propname, WVAR (w, buffer));
+ prop = Fget_text_property (position, propname, WGET (w, buffer));
XSETFASTINT (limit1, (limit < endpos ? limit : endpos));
- end = Fnext_single_property_change (position, propname, WVAR (w, buffer), limit1);
+ end = Fnext_single_property_change (position, propname, WGET (w, buffer), limit1);
if (INTEGERP (end))
endpos = XINT (end);
ptrdiff_t *endptr, ptrdiff_t limit,
int mouse, Lisp_Object overlay)
{
- struct frame *f = XFRAME (WVAR (w, frame));
+ struct frame *f = XFRAME (WGET (w, frame));
Lisp_Object attrs[LFACE_VECTOR_SIZE];
Lisp_Object prop, position;
ptrdiff_t endpos;
/* Get the `face' or `mouse_face' text property at POS, and
determine the next position at which the property changes. */
- prop = Fget_text_property (position, propname, WVAR (w, buffer));
+ prop = Fget_text_property (position, propname, WGET (w, buffer));
XSETFASTINT (limit1, (limit < endpos ? limit : endpos));
- end = Fnext_single_property_change (position, propname, WVAR (w, buffer), limit1);
+ end = Fnext_single_property_change (position, propname, WGET (w, buffer), limit1);
if (INTEGERP (end))
endpos = XINT (end);