Commit c0ce93fd authored by Paul Eggert's avatar Paul Eggert
Browse files

* xfaces.c (face_for_overlay_string): Remove unused local.

parent 56adbe62
2012-08-02 Paul Eggert <>
* 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):
......@@ -6144,7 +6144,6 @@ face_for_overlay_string (struct window *w, ptrdiff_t pos,
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;
......@@ -6154,7 +6153,6 @@ face_for_overlay_string (struct window *w, ptrdiff_t pos,
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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment