(display-buffer): Use lru window if current window
cannot be split.
This commit is contained in:
parent
904d8c69fa
commit
73f60406a5
2 changed files with 7 additions and 1 deletions
|
@ -1009,7 +1009,8 @@ consider all visible or iconified frames."
|
|||
(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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue