From: Gerd Moellmann Date: Thu, 12 Aug 1999 20:49:57 +0000 (+0000) Subject: (vmotion): Don't add in mini-buffer prompt width X-Git-Tag: emacs-pretest-21.0.90~7192 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=708ca3c8f934dca64b981ff9e35a474ee6eb0be8;p=emacs.git (vmotion): Don't add in mini-buffer prompt width if prompts are inserted into mini-buffer. --- diff --git a/src/indent.c b/src/indent.c index 92dbbf23468..18109acc2bc 100644 --- a/src/indent.c +++ b/src/indent.c @@ -1654,6 +1654,7 @@ vmotion (from, vtarget, w) 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 @@ vmotion (from, vtarget, w) 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. */