diff src/window.c @ 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 bc45ad547d66
children 93a5a20be8f1
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.  */