]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fset_window_configuration): Set last_selected_window
authorRichard M. Stallman <rms@gnu.org>
Tue, 6 May 1997 03:29:39 +0000 (03:29 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 6 May 1997 03:29:39 +0000 (03:29 +0000)
in the new selected window's new buffer.

src/window.c

index cf45ea300211bf76e8fb22a4efdd5c04cbfbec62..b9b7f84eed66797614b8573c30edb02062ab4a18 100644 (file)
@@ -3377,6 +3377,8 @@ by `current-window-configuration' (which see).")
 
       FRAME_ROOT_WINDOW (f) = data->root_window;
       Fselect_window (data->current_window);
+      XBUFFER (XWINDOW (selected_window)->buffer)->last_selected_window
+       = selected_window;
 
       if (NILP (data->focus_frame)
          || (FRAMEP (data->focus_frame)