Commit 5fc6520d authored by Chong Yidong's avatar Chong Yidong
Browse files

(set_window_buffer): Revert 2006-11-22 change.

parent 49a17db3
......@@ -3266,10 +3266,6 @@ set_window_buffer (window, buffer, run_hooks_p, keep_margins_p)
struct window *w = XWINDOW (window);
struct buffer *b = XBUFFER (buffer);
int count = SPECPDL_INDEX ();
struct frame *f = XFRAME (w->frame);
Display_Info *dpyinfo;
w->buffer = buffer;
......@@ -3350,15 +3346,6 @@ set_window_buffer (window, buffer, run_hooks_p, keep_margins_p)
call1 (Vrun_hooks, Qwindow_configuration_change_hook);
if (f && FRAME_X_OUTPUT (f)
&& (dpyinfo = FRAME_X_DISPLAY_INFO (f))
&& EQ (window, dpyinfo->mouse_face_window))
clear_mouse_face (dpyinfo);
unbind_to (count, Qnil);
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