Commit dbf64827 authored by Juanma Barranquero's avatar Juanma Barranquero
Browse files

* window.c (Fdelete_window): Check WINDOW argument. (Bug#4618)

parent 1b8d1cc7
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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment