Eli Zaretskii writes: Thanks a lot for your help. > Can you see if clear_mouse_face is ever called from any other place, > when the highlighting isn't cleared when you move the mouse pointer to > another line of text in the same window? If there _are_ any other > places from which clear_mouse_face is called, could you please show > the full contents of the hlinfo struct when it arrives in > clear_mouse_face in those other call sequences?