2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
- * xfaces.c (face_at_buffer_position): Remove unused local.
- (face_at_buffer_position, face_for_overlay_string):
- Don't assume buffer size fits in 'int'.
+ * xfaces.c (face_at_buffer_position, face_for_overlay_string):
+ Don't assume buffer size fits in 'int'. Remove unused local.
Use C99-style 'extern inline' if available.
* buffer.h (BUFFER_INLINE):
struct frame *f = XFRAME (WVAR (w, frame));
Lisp_Object attrs[LFACE_VECTOR_SIZE];
Lisp_Object prop, position;
- Lisp_Object frame;
ptrdiff_t endpos;
Lisp_Object propname = mouse ? Qmouse_face : Qface;
Lisp_Object limit1, end;
to use the frame and buffer of W, but right now it doesn't. */
/* eassert (XBUFFER (w->buffer) == current_buffer); */
- XSETFRAME (frame, f);
XSETFASTINT (position, pos);
endpos = ZV;