From: Stefan Monnier Date: Thu, 3 Nov 2005 17:14:11 +0000 (+0000) Subject: (Fdisplay_buffer): Fix last change to not use a dedicated window. X-Git-Tag: emacs-pretest-22.0.90~6096 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=49e993450ce610ce35e22dbbe12faa658d01ee95;p=emacs.git (Fdisplay_buffer): Fix last change to not use a dedicated window. --- diff --git a/src/ChangeLog b/src/ChangeLog index acf9681e002..fd202cfd53e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2005-11-03 Stefan Monnier + + * window.c (Fdisplay_buffer): Fix last change to not use + a dedicated window. + 2005-11-01 Kim F. Storm * 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) : Doc fix. (Fmemory_full_p): Function deleted. diff --git a/src/window.c b/src/window.c index fe3572fba25..c49493f37ca 100644 --- a/src/window.c +++ b/src/window.c @@ -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. */