From 8714a182913706f421631a07da3dfa439c7eb9ec Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Wed, 6 Dec 2000 16:55:58 +0000 Subject: [PATCH] (face_at_string_position): Update function comment. --- src/xfaces.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/xfaces.c b/src/xfaces.c index b6dfaed745b..0cfc9a6b334 100644 --- a/src/xfaces.c +++ b/src/xfaces.c @@ -6867,10 +6867,10 @@ face_at_buffer_position (w, pos, region_beg, region_end, current_buffer, otherwise BUFPOS is zero to indicate that STRING is not an overlay string. W must display the current buffer. REGION_BEG and REGION_END give the start and end positions of the - region; both are -1 if no region is visible. BASE_FACE_ID is the - id of the basic face to merge with. It is usually equal to - DEFAULT_FACE_ID but can be MODE_LINE_FACE_ID or HEADER_LINE_FACE_ID - for strings displayed in the mode or top line. + region; both are -1 if no region is visible. + + BASE_FACE_ID is the id of a face to merge with. For strings coming + from overlays or the `display' property it is the face at BUFPOS. Set *ENDPTR to the next position where to check for faces in STRING; -1 if the face is constant from POS to the end of the -- 2.39.5