Mercurial > emacs
diff lisp/imenu.el @ 12396:d0c82df80d70
(imenu-choose-buffer-index): Understand that (menu-bar)
doesn't specify a window.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 27 Jun 1995 10:05:22 +0000 |
parents | 4fbc70e4d5e7 |
children | f12b1374fb5b |
line wrap: on
line diff
--- a/lisp/imenu.el Tue Jun 27 06:52:56 1995 +0000 +++ b/lisp/imenu.el Tue Jun 27 10:05:22 1995 +0000 @@ -964,6 +964,7 @@ ;; If selected by mouse, see to that the window where the mouse is ;; really is selected. (and mouse-triggered + (not (equal last-nonmenu-event '(menu-bar))) (let ((window (posn-window (event-start last-nonmenu-event)))) (or (framep window) (select-window window)))) ;; Create a list for this buffer only when needed.