diff options
| author | Richard M. Stallman | 1996-09-21 04:10:21 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-09-21 04:10:21 +0000 |
| commit | 85462999a5914e22b89b6804f1c8d577ee494edf (patch) | |
| tree | 81cda93ac7e69c8b04ccb27801c927cef7a20e2f /src | |
| parent | 8516ba9afe0266423a1666b05d1032345a139457 (diff) | |
| download | emacs-85462999a5914e22b89b6804f1c8d577ee494edf.tar.gz emacs-85462999a5914e22b89b6804f1c8d577ee494edf.zip | |
(read_minibuf): Use FRAME_LEFT_SCROLL_BAR_WIDTH
to set the cursor position at the end.
Diffstat (limited to 'src')
| -rw-r--r-- | src/minibuf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/minibuf.c b/src/minibuf.c index eb670fe0fb2..bd57f6b45a4 100644 --- a/src/minibuf.c +++ b/src/minibuf.c | |||
| @@ -333,7 +333,8 @@ read_minibuf (map, initial, prompt, backup_n, expflag, histvar, histpos) | |||
| 333 | >= XFASTINT (XWINDOW (minibuf_window)->top)) | 333 | >= XFASTINT (XWINDOW (minibuf_window)->top)) |
| 334 | && !noninteractive) | 334 | && !noninteractive) |
| 335 | { | 335 | { |
| 336 | FRAME_CURSOR_X (selected_frame) = 0; | 336 | FRAME_CURSOR_X (selected_frame) |
| 337 | = FRAME_LEFT_SCROLL_BAR_WIDTH (selected_frame); | ||
| 337 | update_frame (selected_frame, 1, 1); | 338 | update_frame (selected_frame, 1, 1); |
| 338 | } | 339 | } |
| 339 | 340 | ||