summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-05-06 03:29:39 +0000
committerRichard M. Stallman <rms@gnu.org>1997-05-06 03:29:39 +0000
commit48776c849bb7273df3402c95f799bfb611fe9555 (patch)
tree3136f5d864d59393725b6400d4a4947c7b392d7b
parent8c31f7e26622aed3b98c5fec3f18f1466c1ef407 (diff)
downloademacs-48776c849bb7273df3402c95f799bfb611fe9555.tar.gz
(Fset_window_configuration): Set last_selected_window
in the new selected window's new buffer.
-rw-r--r--src/window.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/window.c b/src/window.c
index cf45ea30021..b9b7f84eed6 100644
--- a/src/window.c
+++ b/src/window.c
@@ -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)