Mercurial > hg > xemacs-beta
comparison 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 |
comparison
equal
deleted
inserted
replaced
1160:21dcf7ccd9a3 | 1161:8e95979f01c6 |
---|---|
665 /* Force every call to QUIT to check for in_displayness. This will | 665 /* Force every call to QUIT to check for in_displayness. This will |
666 verify proper wrapping, as in the previous comment, aborting if not. */ | 666 verify proper wrapping, as in the previous comment, aborting if not. */ |
667 something_happened++; | 667 something_happened++; |
668 record_unwind_protect (commit_ritual_suicide, Qnil); | 668 record_unwind_protect (commit_ritual_suicide, Qnil); |
669 #endif | 669 #endif |
670 begin_gc_forbidden (); | |
670 in_display = 1; | 671 in_display = 1; |
671 | 672 |
672 return depth; | 673 return depth; |
673 } | 674 } |
674 | 675 |
677 { | 678 { |
678 Lisp_Object frmcons, devcons, concons; | 679 Lisp_Object frmcons, devcons, concons; |
679 | 680 |
680 in_display = 0; | 681 in_display = 0; |
681 | 682 |
683 unbind_to (depth); | |
682 #ifdef ERROR_CHECK_TRAPPING_PROBLEMS | 684 #ifdef ERROR_CHECK_TRAPPING_PROBLEMS |
683 unbind_to (depth); | |
684 something_happened--; | 685 something_happened--; |
685 #endif | 686 #endif |
686 | 687 |
687 /* we used to have a function to do this for only one frame, and | 688 /* we used to have a function to do this for only one frame, and |
688 it was typical to call it at the end of a critical section | 689 it was typical to call it at the end of a critical section |