(Fdisplay_buffer): Fix last change to not use a dedicated window.

This commit is contained in:
Stefan Monnier 2005-11-03 17:14:11 +00:00
parent 11bdfcdd82
commit 49e993450c
2 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2005-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
* window.c (Fdisplay_buffer): Fix last change to not use
a dedicated window.
2005-11-01 Kim F. Storm <storm@cua.dk>
* fringe.c (update_window_fringes): Undo 2005-10-27 change.
@ -62,8 +67,8 @@
(decode_mode_spec): Test Vmemory_full, not spare_memory.
(Fformat_mode_line): Clear mode_line_proptrans_alist after saving.
* lisp.h (memory_full_cons_threshold): Declared.
(internal_lisp_condition_case): Declared.
* lisp.h (memory_full_cons_threshold): Declare.
(internal_lisp_condition_case): Declare.
* alloc.c (syms_of_alloc) <memory-full>: Doc fix.
(Fmemory_full_p): Function deleted.

View file

@ -3535,6 +3535,8 @@ displayed. */)
|| EQ (XWINDOW (window)->parent, Qnil))
&& window_height (window) >= window_min_height << 1)
window = Fsplit_window (window, Qnil, Qnil);
else
window = Fget_lru_window (frames, Qnil);
/* If Fget_lru_window returned nil, try other approaches. */
/* Try visible frames first. */