changeset 25249:ff6be2c1916f

(vmotion): Don't add in mini-buffer prompt width if prompts are inserted into mini-buffer.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 12 Aug 1999 20:49:57 +0000
parents f0fc8443bdbb
children 2228d0a678ef
files src/indent.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/indent.c	Thu Aug 12 16:35:22 1999 +0000
+++ b/src/indent.c	Thu Aug 12 20:49:57 1999 +0000
@@ -1654,6 +1654,7 @@
 
   XSETWINDOW (window, w);
 
+#if NO_PROMPT_IN_BUFFER
   /* The omission of the clause
          && marker_position (w->start) == BEG
      here is deliberate; I think we want to measure from the prompt
@@ -1666,6 +1667,7 @@
 
       start_hpos = minibuf_prompt_width;
     }
+#endif /* NO_PROMPT_IN_BUFFER */
 
   /* If the window contains this buffer, use it for getting text properties.
      Otherwise use the current buffer as arg for doing that.  */