diff options
| author | Juanma Barranquero | 2022-12-16 07:10:28 +0100 |
|---|---|---|
| committer | Juanma Barranquero | 2022-12-16 07:16:23 +0100 |
| commit | d9ab1027b18512e65c55d282fb3697f34a2277bb (patch) | |
| tree | 4993abf6cdef5a630f9825b3be343e058aaec442 | |
| parent | b8eef7b8c1066cf446ca1b37d3fd5c1ea3e3ab07 (diff) | |
| download | emacs-d9ab1027b18512e65c55d282fb3697f34a2277bb.tar.gz emacs-d9ab1027b18512e65c55d282fb3697f34a2277bb.zip | |
Fix lisp/bs.el change in commit e0a057c16b of 2022-12-07
* lisp/bs.el (bs-default-action-list): Before creating a window
first try `display-buffer-reuse-window', but make sure it never
chooses a window in another frame.
| -rw-r--r-- | lisp/bs.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/bs.el b/lisp/bs.el index d5e6030fac0..c976ed283c4 100644 --- a/lisp/bs.el +++ b/lisp/bs.el | |||
| @@ -488,7 +488,9 @@ Used internally, only.") | |||
| 488 | "<mouse-2>" #'bs-mouse-select | 488 | "<mouse-2>" #'bs-mouse-select |
| 489 | "<mouse-3>" #'bs-mouse-select-other-frame) | 489 | "<mouse-3>" #'bs-mouse-select-other-frame) |
| 490 | 490 | ||
| 491 | (defcustom bs-default-action-list '((display-buffer-below-selected) | 491 | (defcustom bs-default-action-list '((display-buffer-reuse-window |
| 492 | display-buffer-below-selected) | ||
| 493 | (reusable-frames . nil) | ||
| 492 | (window-height . window-min-height)) | 494 | (window-height . window-min-height)) |
| 493 | "Default action list for showing the '*bs-selection*' buffer. | 495 | "Default action list for showing the '*bs-selection*' buffer. |
| 494 | 496 | ||