diff options
| author | Andreas Schwab | 2008-06-08 07:54:25 +0000 |
|---|---|---|
| committer | Andreas Schwab | 2008-06-08 07:54:25 +0000 |
| commit | 73f60406a53b36431d1e6142f7d32b36fea0157d (patch) | |
| tree | 18307bd6847d7f26d756ca295638239b51946743 | |
| parent | 904d8c69fa7ef25840c78b5b4d30aa0f21dfda46 (diff) | |
| download | emacs-73f60406a53b36431d1e6142f7d32b36fea0157d.tar.gz emacs-73f60406a53b36431d1e6142f7d32b36fea0157d.zip | |
(display-buffer): Use lru window if current window
cannot be split.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/window.el | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f7bb9fc3205..8a5b4058b5e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2008-06-08 Andreas Schwab <schwab@suse.de> | ||
| 2 | |||
| 3 | * window.el (display-buffer): Use lru window if current window | ||
| 4 | cannot be split. | ||
| 5 | |||
| 1 | 2008-06-08 Stefan Monnier <monnier@iro.umontreal.ca> | 6 | 2008-06-08 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 7 | ||
| 3 | * apropos.el (apropos-library): New command and new button. | 8 | * apropos.el (apropos-library): New command and new button. |
diff --git a/lisp/window.el b/lisp/window.el index 86da093a184..74bcdcdaef1 100644 --- a/lisp/window.el +++ b/lisp/window.el | |||
| @@ -1009,7 +1009,8 @@ consider all visible or iconified frames." | |||
| 1009 | (or (window--try-to-split-window | 1009 | (or (window--try-to-split-window |
| 1010 | (get-largest-window frame-to-use t)) | 1010 | (get-largest-window frame-to-use t)) |
| 1011 | (window--try-to-split-window | 1011 | (window--try-to-split-window |
| 1012 | (get-lru-window frame-to-use t)))) | 1012 | (get-lru-window frame-to-use t)) |
| 1013 | (get-lru-window frame-to-use nil))) | ||
| 1013 | (window--display-buffer-2 buffer window-to-use))) | 1014 | (window--display-buffer-2 buffer window-to-use))) |
| 1014 | ((setq window-to-use | 1015 | ((setq window-to-use |
| 1015 | ;; Reuse an existing window. | 1016 | ;; Reuse an existing window. |