(window_loop): In DELETE_BUFFER_WINDOWS case, reset
dedicated status of window before attempting to display another buffer in it.
This commit is contained in:
parent
8fc29035f3
commit
1c33c906e0
2 changed files with 8 additions and 0 deletions
|
@ -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):
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue