From 44d1c535188df5fe1828817a5b8fcda3caf1c9ee Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Wed, 6 Apr 1994 06:06:51 +0000 Subject: [PATCH] (vmotion): Don't use minibuf_prompt_width if window-start has suppressed the prompt. --- src/indent.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/indent.c b/src/indent.c index 91ea2f9709e..511cf5c294b 100644 --- a/src/indent.c +++ b/src/indent.c @@ -760,7 +760,8 @@ vmotion (from, vtarget, width, hscroll, window) = 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) -- 2.11.4.GIT