]> git.eshelyaron.com Git - emacs.git/commitdiff
(vmotion): Don't use minibuf_prompt_width if window-start has suppressed the
authorKarl Heuer <kwzh@gnu.org>
Wed, 6 Apr 1994 06:06:51 +0000 (06:06 +0000)
committerKarl Heuer <kwzh@gnu.org>
Wed, 6 Apr 1994 06:06:51 +0000 (06:06 +0000)
prompt.

src/indent.c

index 91ea2f9709e8ce90b6fad477c4912c2f7bac3fdc..511cf5c294b220c955dabfe461c96aeaa58f7939 100644 (file)
@@ -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)