changeset 95654:007178a22142

(display-buffer): Use lru window if current window cannot be split.
author Andreas Schwab <schwab@suse.de>
date Sun, 08 Jun 2008 07:54:25 +0000
parents 46923ae32be4
children 9a50a852d447
files lisp/ChangeLog lisp/window.el
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sun Jun 08 04:39:45 2008 +0000
+++ b/lisp/ChangeLog	Sun Jun 08 07:54:25 2008 +0000
@@ -1,3 +1,8 @@
+2008-06-08  Andreas Schwab  <schwab@suse.de>
+
+	* window.el (display-buffer): Use lru window if current window
+	cannot be split.
+
 2008-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
 
 	* apropos.el (apropos-library): New command and new button.
--- a/lisp/window.el	Sun Jun 08 04:39:45 2008 +0000
+++ b/lisp/window.el	Sun Jun 08 07:54:25 2008 +0000
@@ -1009,7 +1009,8 @@
 		 (or (window--try-to-split-window
 		      (get-largest-window frame-to-use t))
 		     (window--try-to-split-window
-		      (get-lru-window frame-to-use t))))
+		      (get-lru-window frame-to-use t))
+		     (get-lru-window frame-to-use nil)))
 	   (window--display-buffer-2 buffer window-to-use)))
      ((setq window-to-use
 	    ;; Reuse an existing window.