# HG changeset patch # User Kim F. Storm # Date 1125054256 0 # Node ID 3c2b74f1d910d2131d4e6dbe22e2d75d0a6264bc # Parent c73887f91e34795493d18784034bd19b1ddb977d (resize_mini_window): Fix 2005-08-20 change. Don't move PT to new window start. diff -r c73887f91e34 -r 3c2b74f1d910 src/xdisp.c --- a/src/xdisp.c Fri Aug 26 11:03:55 2005 +0000 +++ b/src/xdisp.c Fri Aug 26 11:04:16 2005 +0000 @@ -7697,7 +7697,7 @@ /* Resize mini-window W to fit the size of its contents. EXACT:P means size the window exactly to the size needed. Otherwise, it's only enlarged until W's buffer is empty. - + Set W->start to the right place to begin display. If the whole contents fit, start at the beginning. Otherwise, start so as to make the end of the contents appear. This is particularly @@ -7786,7 +7786,6 @@ init_iterator (&it, w, ZV, ZV_BYTE, NULL, DEFAULT_FACE_ID); move_it_vertically_backward (&it, (height - 1) * unit); start = it.current.pos; - SET_PT_BOTH (CHARPOS (start), BYTEPOS (start)); } else SET_TEXT_POS (start, BEGV, BEGV_BYTE);