diff src/frame.c @ 1161:8e95979f01c6

[xemacs-hg @ 2002-12-16 02:32:47 by ben] fixes for window-config problems and set-window-point
author ben
date Mon, 16 Dec 2002 02:33:04 +0000
parents ecb17ab2f7ab
children e22b0213b713
line wrap: on
line diff
--- a/src/frame.c	Sun Dec 15 22:52:57 2002 +0000
+++ b/src/frame.c	Mon Dec 16 02:33:04 2002 +0000
@@ -667,6 +667,7 @@
   something_happened++;
   record_unwind_protect (commit_ritual_suicide, Qnil);
 #endif
+  begin_gc_forbidden ();
   in_display = 1;
 
   return depth;
@@ -679,8 +680,8 @@
 
   in_display = 0;
 
+  unbind_to (depth);
 #ifdef ERROR_CHECK_TRAPPING_PROBLEMS
-  unbind_to (depth);
   something_happened--;
 #endif