From: Stephen Leake Date: Tue, 11 Dec 2018 19:25:45 +0000 (-0800) Subject: Fix bug in display-buffer-use-some-frame X-Git-Tag: emacs-27.0.90~4001 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4d3f7b77cc7dea072d2ecb9f137c2e497bc52da1;p=emacs.git Fix bug in display-buffer-use-some-frame * lisp/window.el (display-buffer-use-some-frame): Pass 'reuse, not 'frame, to window--display-buffer. --- 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))))))