1
0
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:
Richard M. Stallman 1993-06-01 22:19:16 +00:00
parent bdd53bbcac
commit c0bb9f3b6d

View File

@ -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.