summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-09-21 04:10:21 +0000
committerRichard M. Stallman <rms@gnu.org>1996-09-21 04:10:21 +0000
commit3c8a836a32e7e10d3c5956a528eb23307ef66aaa (patch)
tree6a0d782eb234b6b0abeac5c540b897a0ddddd686
parent015f2868fc2526292a7108d66875d80c7ad7423f (diff)
downloademacs-3c8a836a32e7e10d3c5956a528eb23307ef66aaa.tar.gz
(read_minibuf): Use FRAME_LEFT_SCROLL_BAR_WIDTH
to set the cursor position at the end.
-rw-r--r--src/minibuf.c3
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)
>= XFASTINT (XWINDOW (minibuf_window)->top))
&& !noninteractive)
{
- FRAME_CURSOR_X (selected_frame) = 0;
+ FRAME_CURSOR_X (selected_frame)
+ = FRAME_LEFT_SCROLL_BAR_WIDTH (selected_frame);
update_frame (selected_frame, 1, 1);
}