# HG changeset patch # User Gerd Moellmann # Date 976121758 0 # Node ID 1bf333d1b1defb538bf32f417e048e5837c64fcb # Parent 28c3e736ae57717712b25bccbcbb903770dce580 (face_at_string_position): Update function comment. diff -r 28c3e736ae57 -r 1bf333d1b1de src/xfaces.c --- a/src/xfaces.c Wed Dec 06 16:53:44 2000 +0000 +++ b/src/xfaces.c Wed Dec 06 16:55:58 2000 +0000 @@ -6867,10 +6867,10 @@ 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