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
commit396a830c5e1c05bf63f78f1080d75b249ee38cf6 (patch)
tree2691b25e5db9b541b08e381979e582662eda1e98
parent9df238211ed3ddc0a869b6874c3992ddbfa3bdba (diff)
downloademacs-396a830c5e1c05bf63f78f1080d75b249ee38cf6.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)