changeset 99541:8f3f7e087ae6

(window_loop): In DELETE_BUFFER_WINDOWS case, reset dedicated status of window before attempting to display another buffer in it.
author Martin Rudalics <rudalics@gmx.at>
date Fri, 14 Nov 2008 13:49:40 +0000
parents c5c8f07bc47c
children d77be3ea56a3
files src/window.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/window.c	Fri Nov 14 13:05:18 2008 +0000
+++ b/src/window.c	Fri Nov 14 13:49:40 2008 +0000
@@ -2278,6 +2278,8 @@
 		       display there.  */
 		    Lisp_Object buffer;
 		    buffer = Fother_buffer (obj, Qnil, w->frame);
+		    /* Reset dedicated state of window.  */
+		    w->dedicated = Qnil;
 		    Fset_window_buffer (window, buffer, Qnil);
 		    if (EQ (window, selected_window))
 		      Fset_buffer (w->buffer);