From: Richard M. Stallman Date: Fri, 24 Jan 1997 09:31:32 +0000 (+0000) Subject: (try_window): Remove frobnication of tab_offset in a minibuffer window. X-Git-Tag: emacs-20.1~3017 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fd2d7b3dd4ed12bca817d9f13e387e65a2bd4db0;p=emacs.git (try_window): Remove frobnication of tab_offset in a minibuffer window. (display_text_line): Likewise, for the taboffset parameter. --- diff --git a/src/xdisp.c b/src/xdisp.c index dc8b23daff8..e0de4f96e05 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -2065,14 +2065,6 @@ try_window (window, pos) val = *display_text_line (w, pos, vpos, val.hpos, tab_offset, val.ovstring_chars_done); tab_offset += width; - /* For the first line displayed, display_text_line - subtracts the prompt width from the tab offset. - But it does not affect the value of our variable tab_offset. - So we do the subtraction again, - for the sake of continuation lines of that first line. */ - if (MINI_WINDOW_P (w) && vpos == XFASTINT (w->top)) - tab_offset -= minibuf_prompt_width; - if (val.vpos) tab_offset = 0; vpos++; if (pos != val.bufpos)