# HG changeset patch # User Karl Heuer # Date 765612411 0 # Node ID 5877a8b11f0cc0ca6b1593b3fc909f5505f44d08 # Parent 336ac455547cef2d5473f0f0c402890320f30efc (vmotion): Don't use minibuf_prompt_width if window-start has suppressed the prompt. diff -r 336ac455547c -r 5877a8b11f0c src/indent.c --- a/src/indent.c Wed Apr 06 06:01:15 1994 +0000 +++ b/src/indent.c Wed Apr 06 06:06:51 1994 +0000 @@ -760,7 +760,8 @@ = XTYPE (current_buffer->selective_display) == Lisp_Int ? XINT (current_buffer->selective_display) : !NILP (current_buffer->selective_display) ? -1 : 0; - int start_hpos = (EQ (window, minibuf_window) ? minibuf_prompt_width : 0); + int start_hpos = (EQ (window, minibuf_window) && XWINDOW (window)->start == 1 + ? minibuf_prompt_width : 0); retry: if (vtarget > vpos)