]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fx_create_frame): Bind redisplay-dont-pause around
authorJason Rumney <jasonr@gnu.org>
Sat, 19 Jan 2002 10:06:44 +0000 (10:06 +0000)
committerJason Rumney <jasonr@gnu.org>
Sat, 19 Jan 2002 10:06:44 +0000 (10:06 +0000)
call to face-set-after-frame-default.

src/ChangeLog
src/w32fns.c

index 566073d7ab626b774c0a107e5066122abe8c404a..772f3887eab4054e384f1d54461f6bc36d208933 100644 (file)
@@ -1,3 +1,8 @@
+2002-01-19  Jason Rumney  <jasonr@gnu.org>
+
+       * w32fns.c (Fx_create_frame): Bind redisplay-dont-pause around
+       call to face-set-after-frame-default.
+
 2002-01-18  Richard M. Stallman  <rms@gnu.org>
 
        * dispextern.h (WINDOW_WANTS_MODELINE_P): Check window height > 1. 
index a2b83c67bd3df7828e0e608cf62f35b163e21123..45e35267e250a3d14a9fcdab5b036005fa2fd610 100644 (file)
@@ -5629,6 +5629,10 @@ This function is an internal primitive--use `make-frame' instead.  */)
   x_wm_set_size_hint (f, window_prompting, 0);
   UNBLOCK_INPUT;
 
+  /* Avoid a bug that causes the new frame to never become visible if
+     an echo area message is displayed during the following call1.  */
+  specbind(Qredisplay_dont_pause, Qt);
+
   /* Set up faces after all frame parameters are known.  This call
      also merges in face attributes specified for new frames.  If we
      don't do this, the `menu' face for instance won't have the right