diff options
Diffstat (limited to 'lisp/buff-menu.el')
-rw-r--r-- | lisp/buff-menu.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/buff-menu.el b/lisp/buff-menu.el index 1db9b7229f3..58fde695b39 100644 --- a/lisp/buff-menu.el +++ b/lisp/buff-menu.el @@ -591,7 +591,7 @@ means list those buffers and no others." (select-window (posn-window (event-end event))) (let ((buffer (tabulated-list-get-id (posn-point (event-end event))))) (when (buffer-live-p buffer) - (if (and (window-dedicated-p (selected-window)) + (if (and (window-dedicated-p) (eq (selected-window) (frame-root-window))) (switch-to-buffer-other-frame buffer) (switch-to-buffer buffer))))) |