From: Chong Yidong Date: Sat, 25 Nov 2006 04:18:11 +0000 (+0000) Subject: (set_window_buffer): Use BLOCK_INPUT. X-Git-Tag: emacs-pretest-22.0.92~519 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ae4e78dae72b2694efca8809d5524fe1a2e00d01;p=emacs.git (set_window_buffer): Use BLOCK_INPUT. --- diff --git a/src/window.c b/src/window.c index 12159dd8af7..f1a0cb55072 100644 --- a/src/window.c +++ b/src/window.c @@ -3351,8 +3351,10 @@ set_window_buffer (window, buffer, run_hooks_p, keep_margins_p) } #ifdef HAVE_WINDOW_SYSTEM + BLOCK_INPUT; if (dpyinfo && EQ (window, dpyinfo->mouse_face_window)) clear_mouse_face (dpyinfo); + UNBLOCK_INPUT; #endif unbind_to (count, Qnil);