]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix lisp/bs.el change in commit e0a057c16b of 2022-12-07
authorJuanma Barranquero <lekktu@gmail.com>
Fri, 16 Dec 2022 06:10:28 +0000 (07:10 +0100)
committerJuanma Barranquero <lekktu@gmail.com>
Fri, 16 Dec 2022 06:16:23 +0000 (07:16 +0100)
* 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.

lisp/bs.el

index d5e6030fac0e0efce757a7f383b1efcdd826d95c..c976ed283c4fd2e945ff1edaa95e72a0ae47ffd6 100644 (file)
@@ -488,7 +488,9 @@ Used internally, only.")
   "<mouse-2>" #'bs-mouse-select
   "<mouse-3>" #'bs-mouse-select-other-frame)
 
-(defcustom bs-default-action-list '((display-buffer-below-selected)
+(defcustom bs-default-action-list '((display-buffer-reuse-window
+                                    display-buffer-below-selected)
+                                   (reusable-frames . nil)
                                    (window-height . window-min-height))
   "Default action list for showing the '*bs-selection*' buffer.