Commit bed0c171 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(Fset_window_buffer): Set WINDOW to the window

after decoding.
parent 42088c12
No preview for this file type
......@@ -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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment