diff options
| author | Gerd Moellmann | 1999-08-12 20:49:57 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 1999-08-12 20:49:57 +0000 |
| commit | 708ca3c8f934dca64b981ff9e35a474ee6eb0be8 (patch) | |
| tree | c306134dfcdc1d672b2a3b33e97ac9f327884bc9 /src/indent.c | |
| parent | a319f7c18866e7933cb971756c5cd65bf3d78280 (diff) | |
| download | emacs-708ca3c8f934dca64b981ff9e35a474ee6eb0be8.tar.gz emacs-708ca3c8f934dca64b981ff9e35a474ee6eb0be8.zip | |
(vmotion): Don't add in mini-buffer prompt width
if prompts are inserted into mini-buffer.
Diffstat (limited to 'src/indent.c')
| -rw-r--r-- | src/indent.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) | |||
| 1654 | 1654 | ||
| 1655 | XSETWINDOW (window, w); | 1655 | XSETWINDOW (window, w); |
| 1656 | 1656 | ||
| 1657 | #if NO_PROMPT_IN_BUFFER | ||
| 1657 | /* The omission of the clause | 1658 | /* The omission of the clause |
| 1658 | && marker_position (w->start) == BEG | 1659 | && marker_position (w->start) == BEG |
| 1659 | here is deliberate; I think we want to measure from the prompt | 1660 | here is deliberate; I think we want to measure from the prompt |
| @@ -1666,6 +1667,7 @@ vmotion (from, vtarget, w) | |||
| 1666 | 1667 | ||
| 1667 | start_hpos = minibuf_prompt_width; | 1668 | start_hpos = minibuf_prompt_width; |
| 1668 | } | 1669 | } |
| 1670 | #endif /* NO_PROMPT_IN_BUFFER */ | ||
| 1669 | 1671 | ||
| 1670 | /* If the window contains this buffer, use it for getting text properties. | 1672 | /* If the window contains this buffer, use it for getting text properties. |
| 1671 | Otherwise use the current buffer as arg for doing that. */ | 1673 | Otherwise use the current buffer as arg for doing that. */ |