From: Kim F. Storm Date: Fri, 26 Aug 2005 11:04:16 +0000 (+0000) Subject: (resize_mini_window): Fix 2005-08-20 change. X-Git-Tag: emacs-pretest-22.0.90~7437 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f6c05015bbcc2b5536384ec14789291a93709fc9;p=emacs.git (resize_mini_window): Fix 2005-08-20 change. Don't move PT to new window start. --- 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) /* 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 @@ resize_mini_window (w, exact_p) 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);