]> git.eshelyaron.com Git - emacs.git/commitdiff
(window_loop): In DELETE_BUFFER_WINDOWS case, reset
authorMartin Rudalics <rudalics@gmx.at>
Fri, 14 Nov 2008 13:53:21 +0000 (13:53 +0000)
committerMartin Rudalics <rudalics@gmx.at>
Fri, 14 Nov 2008 13:53:21 +0000 (13:53 +0000)
dedicated status of window before attempting to display another
buffer in it.

src/ChangeLog
src/window.c

index ef38bbf55375250bef45843f0f22124701623ba7..f25d701d8e5e31f2c4115daa18e05a9a68f552aa 100644 (file)
@@ -1,3 +1,9 @@
+2008-11-14  Martin Rudalics  <rudalics@gmx.at>
+
+       * window.c (window_loop): In DELETE_BUFFER_WINDOWS case, reset
+       dedicated status of window before attempting to display another
+       buffer in it.
+
 2008-11-14  Juanma Barranquero  <lekktu@gmail.com>
 
        * msdos.c (Fmsdos_long_file_names):
index 9f71a17c696dded813b37c33f47c9190dd79f738..d770822c28d554052cf8957645295a1ec155107a 100644 (file)
@@ -2278,6 +2278,8 @@ window_loop (type, obj, mini, frames)
                       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);