]> git.eshelyaron.com Git - emacs.git/commitdiff
(read_minibuf): Use FRAME_LEFT_SCROLL_BAR_WIDTH
authorRichard M. Stallman <rms@gnu.org>
Sat, 21 Sep 1996 04:10:21 +0000 (04:10 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 21 Sep 1996 04:10:21 +0000 (04:10 +0000)
to set the cursor position at the end.

src/minibuf.c

index eb670fe0fb2b62a94909670d97a1c0fc6cc63fb3..bd57f6b45a4270f3ca5ec0eaaf7a4e006064da77 100644 (file)
@@ -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);
     }