Commit 4b0cbff9 authored by John Paul Wallington's avatar John Paul Wallington
Browse files

(easy-menu-add-item): Don't default to the global map.

parent 48ce734b
......@@ -10,6 +10,9 @@
2003-03-24 John Paul Wallington <>
* emacs-lisp/easymenu.el (easy-menu-add-item): Don't default to
the global map.
* emerge.el (emerge-show-file-name): Read event irrespective of
whether minibuffer window is resized. Clear minibuffer when done.
......@@ -516,9 +516,6 @@ submenu is then traversed recursively with the remaining elements of PATH.
ITEM is either defined as in `easy-menu-define' or a non-nil value returned
by `easy-menu-item-present-p' or `easy-menu-remove-item' or a menu defined
earlier by `easy-menu-define' or `easy-menu-create-menu'."
(unless map
(setq map (current-global-map))
(push 'menu-bar path))
(setq map (easy-menu-get-map map path
(and (null map) (null path)
(stringp (car-safe item))
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