+2008-11-05 Martin Rudalics <rudalics@gmx.at>
+
+ * window.el (quit-window): Restore prefix argument behavior
+ removed in 2008-10-30 change. (Bug#1308)
+
2008-11-05 Tassilo Horn <tassilo@member.fsf.org>
* doc-view.el (doc-view-mode): Bugfix: Add conversion killing
(defun quit-window (&optional kill window)
"Bury or kill (with KILL non-nil) the buffer displayed in WINDOW.
+With a prefix argument, kill the buffer instead.
+
KILL defaults to nil, WINDOW to the selected window. If WINDOW
is dedicated or a minibuffer window, delete it and, if it's the
only window on its frame, delete its frame as well provided there
are other frames left. Otherwise, display some other buffer in
the window."
- (interactive)
+ (interactive "P")
(let* ((window (or window (selected-window)))
(buffer (window-buffer window)))
(if (or (window-minibuffer-p window) (window-dedicated-p window))