changeset 16927:c5351a880e0a

(try_window): Remove frobnication of tab_offset in a minibuffer window. (display_text_line): Likewise, for the taboffset parameter.
author Richard M. Stallman <rms@gnu.org>
date Fri, 24 Jan 1997 09:31:32 +0000
parents 3baea3418dec
children 28186ed53849
files src/xdisp.c
diffstat 1 files changed, 0 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Fri Jan 24 09:31:18 1997 +0000
+++ b/src/xdisp.c	Fri Jan 24 09:31:32 1997 +0000
@@ -2065,14 +2065,6 @@
       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)