Mercurial > emacs
changeset 50296:156d2f800199
(easy-menu-add-item): Don't default to the global map.
author | John Paul Wallington <jpw@pobox.com> |
---|---|
date | Mon, 24 Mar 2003 12:19:23 +0000 |
parents | b7e98fe2a99a |
children | f04c9dad095e |
files | lisp/emacs-lisp/easymenu.el |
diffstat | 1 files changed, 0 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/emacs-lisp/easymenu.el Mon Mar 24 11:01:17 2003 +0000 +++ b/lisp/emacs-lisp/easymenu.el Mon Mar 24 12:19:23 2003 +0000 @@ -516,9 +516,6 @@ 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))