• Eli Zaretskii's avatar
    Fix face extension past EOL in overlay strings · f946e48b
    Eli Zaretskii authored
    * src/xdisp.c (face_at_pos): Pass ATTR_FILTER to
    face_for_overlay_string.
    * src/xfaces.c (face_for_overlay_string): Accept an additional
    argument ATTR_INDEX and pass it to merge_face_ref for merging the
    face at POS.  This ensures a face from buffer text will not be
    merged unless it specifies the :extend attribute.  (Bug#42552)
    * src/dispextern.h (face_for_overlay_string): Adjust prototype.
    
    (cherry picked from commit 35564bea)
    f946e48b
xdisp.c 1.08 MB
The source could not be displayed because it is larger than 1 MB. You can load it anyway or download it instead.