mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-23 13:27:36 +00:00
* window.c (Fdelete_window): Check WINDOW argument. (Bug#4618)
This commit is contained in:
parent
1b8d1cc7b6
commit
dbf64827d9
2 changed files with 7 additions and 0 deletions
|
|
@ -1,3 +1,7 @@
|
|||
2009-10-03 Martin Rudalics <rudalics@gmx.at>
|
||||
|
||||
* window.c (Fdelete_window): Check WINDOW argument. (Bug#4618)
|
||||
|
||||
2009-10-02 Michael Albinus <michael.albinus@gmx.de>
|
||||
|
||||
* lisp.h (Qdelete_directory_internal): Removed, because it is not
|
||||
|
|
|
|||
|
|
@ -1533,6 +1533,9 @@ Signal an error when WINDOW is the only window on its frame. */)
|
|||
struct frame *f;
|
||||
if (NILP (window))
|
||||
window = selected_window;
|
||||
else
|
||||
CHECK_LIVE_WINDOW (window);
|
||||
|
||||
f = XFRAME (WINDOW_FRAME (XWINDOW (window)));
|
||||
delete_window (window);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue