Commit 4d3f7b77 authored by Stephen Leake's avatar Stephen Leake
Browse files

Fix bug in display-buffer-use-some-frame

* lisp/window.el (display-buffer-use-some-frame): Pass 'reuse, not
'frame, to window--display-buffer.
parent c8431a06
......@@ -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))))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment