From: Richard M. Stallman Date: Sat, 21 Sep 1996 04:14:14 +0000 (+0000) Subject: (echo_area_display): Clear the left-side scroll bar columns. X-Git-Tag: emacs-20.1~3678 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a2f016e3c79e4adaeb8549e5603138f1495017a9;p=emacs.git (echo_area_display): Clear the left-side scroll bar columns. --- diff --git a/src/xdisp.c b/src/xdisp.c index 868113434f5..f56a16a7a82 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -596,10 +596,18 @@ echo_area_display () if (echo_area_glyphs || minibuf_level == 0) { + int i; + echo_area_window = mini_window; vpos = XFASTINT (XWINDOW (mini_window)->top); get_display_line (f, vpos, 0); + + /* Make sure the columns that overlap a left-hand scroll bar + are always clear. */ + for (i = 0; i < FRAME_LEFT_SCROLL_BAR_WIDTH (f); i++) + f->desired_glyphs->glyphs[vpos][i] = SPACEGLYPH; + display_string (XWINDOW (mini_window), vpos, echo_area_glyphs ? echo_area_glyphs : "", echo_area_glyphs ? echo_area_glyphs_length : -1,