Commit 07efa3f0 authored by Sam Steingold's avatar Sam Steingold
Browse files

Use `mouse-menu-bar-map' when no other menus are available.

* lisp/menu-bar.el (menu-bar-open): When everything else fails,
use (mouse-menu-bar-map).
parent 57498850
2014-11-27 Sam Steingold <sds@gnu.org>
* menu-bar.el (menu-bar-open): When everything else fails,
use (mouse-menu-bar-map).
2014-11-27 Ulf Jasper <ulf.jasper@web.de>
* net/newst-treeview.el (newsticker-groups-filename): Change
......
......@@ -2303,7 +2303,8 @@ If FRAME is nil or not given, use the selected frame."
global-map (vector 'menu-bar menu))
(lookup-key-ignore-too-long
(current-local-map) (vector 'menu-bar menu))
(cdar (minor-mode-key-binding (vector 'menu-bar menu))))
(cdar (minor-mode-key-binding (vector 'menu-bar menu)))
(mouse-menu-bar-map))
(posn-at-x-y x 0 nil t) nil t)))
(t (with-selected-frame (or frame (selected-frame))
(tmm-menubar))))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment