mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-24 07:20:37 +00:00
(mouse-buffer-menu): Don't select the event's window,
if event has frame instead.
This commit is contained in:
parent
bdd53bbcac
commit
c0bb9f3b6d
@ -258,7 +258,7 @@ and selects that window."
|
||||
(window (posn-window (event-start event))))
|
||||
(if buf
|
||||
(progn
|
||||
(select-window window)
|
||||
(or (framep window) (select-window window))
|
||||
(switch-to-buffer buf))))))
|
||||
|
||||
;;; These need to be rewritten for the new scroll bar implementation.
|
||||
|
Loading…
Reference in New Issue
Block a user