# HG changeset patch # User Richard M. Stallman # Date 761551823 0 # Node ID 936d4a988148d3e000e36c3f2544afe3e70fe82c # Parent 0b529dfd88c33afabfb77c2608fe03d45d1767af (unshow_buffer): Unconditionally set last_window_start. diff -r 0b529dfd88c3 -r 936d4a988148 src/window.c --- a/src/window.c Fri Feb 18 02:51:33 1994 +0000 +++ b/src/window.c Fri Feb 18 06:10:23 1994 +0000 @@ -617,10 +617,19 @@ if (XBUFFER (buf) != XMARKER (w->pointm)->buffer) abort (); +#if 0 if (w == XWINDOW (selected_window) || ! EQ (buf, XWINDOW (selected_window)->buffer)) /* Do this except when the selected window's buffer is being removed from some other window. */ +#endif + /* last_window_start records the start position that this buffer + had in the last window to be disconnected from it. + Now that this statement is unconditional, + it is possible for the buffer to be displayed in the + selected window, while last_window_start reflects another + window which was recently showing the same buffer. + Some people might say that might be a good thing. Let's see. */ XBUFFER (buf)->last_window_start = marker_position (w->start); /* Point in the selected window's buffer