changeset 6703:5877a8b11f0c

(vmotion): Don't use minibuf_prompt_width if window-start has suppressed the prompt.
author Karl Heuer <kwzh@gnu.org>
date Wed, 06 Apr 1994 06:06:51 +0000
parents 336ac455547c
children a00c6f4747be
files src/indent.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)