summaryrefslogtreecommitdiff
path: root/lisp/window.el
diff options
context:
space:
mode:
authorStephen Leake <stephen_leake@stephe-leake.org>2018-12-11 11:25:45 -0800
committerStephen Leake <stephen_leake@stephe-leake.org>2018-12-11 11:25:45 -0800
commit4d3f7b77cc7dea072d2ecb9f137c2e497bc52da1 (patch)
tree66627631e361513aa0a51827d36eb363d37c8fdd /lisp/window.el
parentc8431a06e4f2209f1c5ba30e2d6a70f284dc4678 (diff)
downloademacs-4d3f7b77cc7dea072d2ecb9f137c2e497bc52da1.tar.gz
Fix bug in display-buffer-use-some-frame
* lisp/window.el (display-buffer-use-some-frame): Pass 'reuse, not 'frame, to window--display-buffer.
Diffstat (limited to 'lisp/window.el')
-rw-r--r--lisp/window.el2
1 files changed, 1 insertions, 1 deletions
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))))))