Mercurial > emacs
comparison src/frame.c @ 1680:ea9f3949f153
* frame.c (Fdelete_frame): Delete all the windows in the frame's
window tree, using delete_all_subwindows.
* window.c (delete_all_subwindows): Don't make this static
anymore.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Sat, 12 Dec 1992 15:34:44 +0000 |
parents | 93497cd89204 |
children | 357b58c8c858 |
comparison
equal
deleted
inserted
replaced
1679:cd48b2c1a7a4 | 1680:ea9f3949f153 |
---|---|
614 Fset_window_buffer (selected_frame->minibuffer_window, | 614 Fset_window_buffer (selected_frame->minibuffer_window, |
615 XWINDOW (minibuf_window)->buffer); | 615 XWINDOW (minibuf_window)->buffer); |
616 minibuf_window = selected_frame->minibuffer_window; | 616 minibuf_window = selected_frame->minibuffer_window; |
617 } | 617 } |
618 | 618 |
619 /* Mark all the windows that used to be on FRAME as deleted, and then | |
620 remove the reference to them. */ | |
621 delete_all_subwindows (XWINDOW (f->root_window)); | |
622 f->root_window = Qnil; | |
623 | |
619 Vframe_list = Fdelq (frame, Vframe_list); | 624 Vframe_list = Fdelq (frame, Vframe_list); |
620 f->visible = 0; | 625 f->visible = 0; |
621 displ = f->display; | 626 displ = f->display; |
622 f->display.nothing = 0; | 627 f->display.nothing = 0; |
623 | 628 |