Fix issues with buffer list handling and adjust-window-trailing-edge.
commita6c429d7e291076d794e1e81517b29f9493dd629
authorMartin Rudalics <rudalics@gmx.at>
Tue, 12 Apr 2011 15:38:04 +0000 (12 17:38 +0200)
committerMartin Rudalics <rudalics@gmx.at>
Tue, 12 Apr 2011 15:38:04 +0000 (12 17:38 +0200)
tree9ef6ddae0d7541dae499259948bc6ce7b870fc20
parent967f49308ac07ad3dbba9ff3ed692b0fd3971499
Fix issues with buffer list handling and adjust-window-trailing-edge.

* buffer.c (Fkill_buffer): Don't inhibit quit around calls to
replace_buffer_in_windows and frames_discard_buffer.

* window.el (adjust-window-trailing-edge): If WINDOW is a
window-splits nil window, try to adjust it the Emacs 23 way.
(switch-to-prev-buffer, switch-to-next-buffer): If we have to
show a buffer from the frame's buffer list try to postpone
showing visible buffers.  Reported by Juanma Barranquero.
lisp/ChangeLog
lisp/window.el
src/ChangeLog
src/buffer.c