summaryrefslogtreecommitdiff
path: root/src/xfaces.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2007-11-04 07:32:41 +0000
committerRichard M. Stallman <rms@gnu.org>2007-11-04 07:32:41 +0000
commita193ecf139c3a9876272385b68f31eb5f2d824d5 (patch)
tree7776c5666eef058963503574ab75a813c608482f /src/xfaces.c
parentc69a28f1e6fe35ccac4848a4a7644fed1250afe3 (diff)
downloademacs-a193ecf139c3a9876272385b68f31eb5f2d824d5.tar.gz
(face_for_overlay_string): Function renamed from
face_at_buffer_position_no_overlays, and add arg OVERLAY.
Diffstat (limited to 'src/xfaces.c')
-rw-r--r--src/xfaces.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/xfaces.c b/src/xfaces.c
index ef8842ac804..e405988704d 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -7706,19 +7706,22 @@ face_at_buffer_position (w, pos, region_beg, region_end,
return lookup_face (f, attrs, 0, NULL);
}
-/* Return the face ID associated with buffer position POS for
- displaying ASCII characters, but without overlays.
- Like face_at_buffer_position except it ignores overlays. */
+/* Return the face ID at buffer position POS for displaying ASCII
+ characters associated with overlay strings for overlay OVERLAY.
+
+ Like face_at_buffer_position except for OVERLAY. Currently it
+ simply disregards the `face' properties of all overlays. */
int
-face_at_buffer_position_no_overlays (w, pos, region_beg, region_end,
- endptr, limit, mouse)
+face_for_overlay_string (w, pos, region_beg, region_end,
+ endptr, limit, mouse, overlay)
struct window *w;
int pos;
int region_beg, region_end;
int *endptr;
int limit;
int mouse;
+ Lisp_Object overlay;
{
struct frame *f = XFRAME (w->frame);
Lisp_Object attrs[LFACE_VECTOR_SIZE];