From: Gerd Moellmann Date: Wed, 6 Dec 2000 16:55:58 +0000 (+0000) Subject: (face_at_string_position): Update function comment. X-Git-Tag: emacs-pretest-21.0.93~149 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8714a182913706f421631a07da3dfa439c7eb9ec;p=emacs.git (face_at_string_position): Update function comment. --- 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