File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -2597,6 +2597,9 @@ If @var{alist} has a @code{previous-window} entry and the window
2597
2597
specified by that entry is live and not dedicated to another buffer,
2598
2598
that window will be preferred, even if it never showed @var {buffer }
2599
2599
before.
2600
+
2601
+ This function will not choose the selected window if it finds another
2602
+ eligible window that has shown @var {buffer } previously.
2600
2603
@end defun
2601
2604
2602
2605
@defun display-buffer-use-some-window buffer alist
Original file line number Diff line number Diff line change @@ -7473,8 +7473,11 @@ selected frame if `display-buffer-reuse-frames' and
7473
7473
terminal if either of those variables is non-nil.
7474
7474
7475
7475
If ALIST has a `previous-window' entry, the window specified by
7476
- that entry will override any other window found by the methods
7477
- above, even if that window never showed BUFFER before."
7476
+ that entry may override any other window found by the methods
7477
+ above, even if that window never showed BUFFER before.
7478
+
7479
+ Avoid using the selected window if another eligible window has
7480
+ shown BUFFER before."
7478
7481
(let* ((alist-entry (assq 'reusable-frames alist))
7479
7482
(inhibit-same-window
7480
7483
(cdr (assq 'inhibit-same-window alist)))
You can’t perform that action at this time.
0 commit comments