aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKim F. Storm2005-08-26 11:04:16 +0000
committerKim F. Storm2005-08-26 11:04:16 +0000
commitf6c05015bbcc2b5536384ec14789291a93709fc9 (patch)
treeff2859c84b39eb0c884913f7a9f3635b2daccf1f /src
parent4e6b8c5a0366347b369526d44307661f40b25b18 (diff)
downloademacs-f6c05015bbcc2b5536384ec14789291a93709fc9.tar.gz
emacs-f6c05015bbcc2b5536384ec14789291a93709fc9.zip
(resize_mini_window): Fix 2005-08-20 change.
Don't move PT to new window start.
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 83483039b54..5306533dd59 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -7697,7 +7697,7 @@ resize_mini_window_1 (a1, exactly, a3, a4)
7697/* Resize mini-window W to fit the size of its contents. EXACT:P 7697/* Resize mini-window W to fit the size of its contents. EXACT:P
7698 means size the window exactly to the size needed. Otherwise, it's 7698 means size the window exactly to the size needed. Otherwise, it's
7699 only enlarged until W's buffer is empty. 7699 only enlarged until W's buffer is empty.
7700 7700
7701 Set W->start to the right place to begin display. If the whole 7701 Set W->start to the right place to begin display. If the whole
7702 contents fit, start at the beginning. Otherwise, start so as 7702 contents fit, start at the beginning. Otherwise, start so as
7703 to make the end of the contents appear. This is particularly 7703 to make the end of the contents appear. This is particularly
@@ -7786,7 +7786,6 @@ resize_mini_window (w, exact_p)
7786 init_iterator (&it, w, ZV, ZV_BYTE, NULL, DEFAULT_FACE_ID); 7786 init_iterator (&it, w, ZV, ZV_BYTE, NULL, DEFAULT_FACE_ID);
7787 move_it_vertically_backward (&it, (height - 1) * unit); 7787 move_it_vertically_backward (&it, (height - 1) * unit);
7788 start = it.current.pos; 7788 start = it.current.pos;
7789 SET_PT_BOTH (CHARPOS (start), BYTEPOS (start));
7790 } 7789 }
7791 else 7790 else
7792 SET_TEXT_POS (start, BEGV, BEGV_BYTE); 7791 SET_TEXT_POS (start, BEGV, BEGV_BYTE);