From: Kim F. Storm Date: Fri, 4 Nov 2005 10:14:54 +0000 (+0000) Subject: (show_mouse_face): Clear mouse face to eol. X-Git-Tag: emacs-pretest-22.0.90~6063 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8a658d94211c7be8ad5e14b6081982c681b25315;p=emacs.git (show_mouse_face): Clear mouse face to eol. --- diff --git a/src/xdisp.c b/src/xdisp.c index 4258a99982f..b8f375968af 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -21332,7 +21332,11 @@ show_mouse_face (dpyinfo, draw) if (row == last) end_hpos = dpyinfo->mouse_face_end_col; else - end_hpos = row->used[TEXT_AREA]; + { + end_hpos = row->used[TEXT_AREA]; + if (draw == DRAW_NORMAL_TEXT) + row->fill_line_p = 1; /* Clear to end of line */ + } if (end_hpos > start_hpos) {