1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-07 20:30:32 -08:00

(Fset_window_buffer): Set WINDOW to the window

after decoding.
This commit is contained in:
Gerd Moellmann 2000-02-25 10:22:28 +00:00
parent 42088c126a
commit bed0c17121
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2000-02-25 Gerd Moellmann <gerd@gnu.org>
* window.c (Fset_window_buffer): Set WINDOW to the window
after decoding.
2000-02-24 Gerd Moellmann <gerd@gnu.org>
* xterm.c (x_display_and_set_cursor): Display cursor of

View file

@ -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);