From 4d3f7b77cc7dea072d2ecb9f137c2e497bc52da1 Mon Sep 17 00:00:00 2001 From: Stephen Leake Date: Tue, 11 Dec 2018 11:25:45 -0800 Subject: [PATCH] Fix bug in display-buffer-use-some-frame * lisp/window.el (display-buffer-use-some-frame): Pass 'reuse, not 'frame, to window--display-buffer. --- lisp/window.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/window.el b/lisp/window.el index 25a599f91d2..a52b8951b15 100644 --- a/lisp/window.el +++ b/lisp/window.el @@ -7193,7 +7193,7 @@ that allows the selected frame)." (when window (prog1 (window--display-buffer - buffer window 'frame alist display-buffer-mark-dedicated) + buffer window 'reuse alist display-buffer-mark-dedicated) (unless (cdr (assq 'inhibit-switch-frame alist)) (window--maybe-raise-frame frame)))))) -- 2.39.5