aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1997-01-24 09:31:32 +0000
committerRichard M. Stallman1997-01-24 09:31:32 +0000
commitfd2d7b3dd4ed12bca817d9f13e387e65a2bd4db0 (patch)
tree2ee2b9d4988df07d39cce818526d1b03bf4c7c24 /src
parent2dd4e608e13224c5e117cbdb76d3dd37a4854aa8 (diff)
downloademacs-fd2d7b3dd4ed12bca817d9f13e387e65a2bd4db0.tar.gz
emacs-fd2d7b3dd4ed12bca817d9f13e387e65a2bd4db0.zip
(try_window): Remove frobnication of tab_offset in a minibuffer window.
(display_text_line): Likewise, for the taboffset parameter.
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c8
1 files changed, 0 insertions, 8 deletions
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)
2065 val = *display_text_line (w, pos, vpos, val.hpos, tab_offset, 2065 val = *display_text_line (w, pos, vpos, val.hpos, tab_offset,
2066 val.ovstring_chars_done); 2066 val.ovstring_chars_done);
2067 tab_offset += width; 2067 tab_offset += width;
2068 /* For the first line displayed, display_text_line
2069 subtracts the prompt width from the tab offset.
2070 But it does not affect the value of our variable tab_offset.
2071 So we do the subtraction again,
2072 for the sake of continuation lines of that first line. */
2073 if (MINI_WINDOW_P (w) && vpos == XFASTINT (w->top))
2074 tab_offset -= minibuf_prompt_width;
2075
2076 if (val.vpos) tab_offset = 0; 2068 if (val.vpos) tab_offset = 0;
2077 vpos++; 2069 vpos++;
2078 if (pos != val.bufpos) 2070 if (pos != val.bufpos)