From bed0c17121d84201d92fd0180aee67d7bd980083 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Fri, 25 Feb 2000 10:22:28 +0000 Subject: [PATCH] (Fset_window_buffer): Set WINDOW to the window after decoding. --- src/ChangeLog | 5 +++++ src/window.c | 1 + 2 files changed, 6 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 894d80c877f..19db11870fe 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2000-02-25 Gerd Moellmann + + * window.c (Fset_window_buffer): Set WINDOW to the window + after decoding. + 2000-02-24 Gerd Moellmann * xterm.c (x_display_and_set_cursor): Display cursor of diff --git a/src/window.c b/src/window.c index 631ea058e90..bdc0c6c1bc0 100644 --- a/src/window.c +++ b/src/window.c @@ -2439,6 +2439,7 @@ BUFFER can be a buffer or buffer name.") register Lisp_Object tem; register struct window *w = decode_window (window); + XSETWINDOW (window, w); buffer = Fget_buffer (buffer); CHECK_BUFFER (buffer, 1); -- 2.39.5