comparison src/redisplay.c @ 223:2c611d1463a6 r20-4b10

Import from CVS: tag r20-4b10
author cvs
date Mon, 13 Aug 2007 10:10:54 +0200
parents d44af0c54775
children 0e522484dd2a
comparison
equal deleted inserted replaced
222:aae4c8b01452 223:2c611d1463a6
5563 d->size_changed = 0; 5563 d->size_changed = 0;
5564 5564
5565 return 0; 5565 return 0;
5566 } 5566 }
5567 5567
5568 #ifndef WINDOWSNT
5569 static Lisp_Object 5568 static Lisp_Object
5570 restore_profiling_redisplay_flag (Lisp_Object val) 5569 restore_profiling_redisplay_flag (Lisp_Object val)
5571 { 5570 {
5572 profiling_redisplay_flag = XINT (val); 5571 profiling_redisplay_flag = XINT (val);
5573 return Qnil; 5572 return Qnil;
5574 } 5573 }
5575 #endif /* WINDOWSNT */
5576 5574
5577 /* Ensure that all windows on all frames on all devices are displaying 5575 /* Ensure that all windows on all frames on all devices are displaying
5578 the current contents of their respective buffers. */ 5576 the current contents of their respective buffers. */
5579 5577
5580 static void 5578 static void
5582 { 5580 {
5583 Lisp_Object devcons, concons; 5581 Lisp_Object devcons, concons;
5584 int size_change_failed = 0; 5582 int size_change_failed = 0;
5585 int count = specpdl_depth (); 5583 int count = specpdl_depth ();
5586 5584
5587 #ifndef WINDOWSNT
5588 if (profiling_active) 5585 if (profiling_active)
5589 { 5586 {
5590 record_unwind_protect (restore_profiling_redisplay_flag, 5587 record_unwind_protect (restore_profiling_redisplay_flag,
5591 make_int (profiling_redisplay_flag)); 5588 make_int (profiling_redisplay_flag));
5592 profiling_redisplay_flag = 1; 5589 profiling_redisplay_flag = 1;
5593 } 5590 }
5594 #endif /* WINDOWSNT */
5595 5591
5596 if (asynch_device_change_pending) 5592 if (asynch_device_change_pending)
5597 handle_asynch_device_change (); 5593 handle_asynch_device_change ();
5598 5594
5599 if (!buffers_changed && !clip_changed && !extents_changed && 5595 if (!buffers_changed && !clip_changed && !extents_changed &&