comparison src/window.c @ 1752:84acc03a7080

[xemacs-hg @ 2003-10-15 09:09:35 by stephent] Fdelete_window fix 2003-09-30 Stephen J. Turnbull <stephen@xemacs.org> * Makefile.in.in: Clean up the *clean and *lock targets. 2003-09-22 Stephen J. Turnbull <stephen@xemacs.org> * Makefile.in.in (XE_CFLAGS): New variant on CFLAGS for XEMACS_CC.
author stephent
date Wed, 15 Oct 2003 09:09:38 +0000
parents a19b0eb5dfc1
children 6a91a3c8f1dc
comparison
equal deleted inserted replaced
1751:5a9a66ba67ca 1752:84acc03a7080
2303 if (!NILP (w->hchild)) 2303 if (!NILP (w->hchild))
2304 delete_all_subwindows (XWINDOW (w->hchild)); 2304 delete_all_subwindows (XWINDOW (w->hchild));
2305 else if (!NILP (w->vchild)) 2305 else if (!NILP (w->vchild))
2306 delete_all_subwindows (XWINDOW (w->vchild)); 2306 delete_all_subwindows (XWINDOW (w->vchild));
2307 2307
2308 /* Warning: mark_window_as_deleted calls window_unmap_subwindows and
2309 therefore redisplay, so it requires the mirror structure to be
2310 correct. We must dirty the mirror before it is called. */
2311 f->mirror_dirty = 1;
2312
2308 mark_window_as_deleted (w); 2313 mark_window_as_deleted (w);
2309 2314
2310 f->mirror_dirty = 1;
2311 return Qnil; 2315 return Qnil;
2312 } 2316 }
2313 2317
2314 2318
2315 DEFUN ("next-window", Fnext_window, 0, 4, 0, /* 2319 DEFUN ("next-window", Fnext_window, 0, 4, 0, /*