changeset 66657:74fd87aeeaf4

(Fdisplay_buffer): Fix last change to not use a dedicated window.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 03 Nov 2005 17:11:50 +0000
parents c385c7a85439
children f2ef41c440de
files src/window.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/window.c	Thu Nov 03 17:01:03 2005 +0000
+++ b/src/window.c	Thu Nov 03 17:11:50 2005 +0000
@@ -3535,6 +3535,8 @@
 		  || 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.  */