]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix bug in display-buffer-use-some-frame
authorStephen Leake <stephen_leake@stephe-leake.org>
Tue, 11 Dec 2018 19:25:45 +0000 (11:25 -0800)
committerStephen Leake <stephen_leake@stephe-leake.org>
Tue, 11 Dec 2018 19:25:45 +0000 (11:25 -0800)
* lisp/window.el (display-buffer-use-some-frame): Pass 'reuse, not
'frame, to window--display-buffer.

lisp/window.el

index 25a599f91d28b079de2a910bc0186d9d90c7fb9f..a52b8951b157b0a02426a100fa8643528a127e86 100644 (file)
@@ -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))))))