mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-27 15:52:00 -08:00
(vmotion): Don't add in mini-buffer prompt width
if prompts are inserted into mini-buffer.
This commit is contained in:
parent
a319f7c188
commit
708ca3c8f9
1 changed files with 2 additions and 0 deletions
|
|
@ -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. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue