From: John Paul Wallington Date: Mon, 24 Mar 2003 12:21:02 +0000 (+0000) Subject: (easy-menu-add-item): Don't default to the global map. X-Git-Tag: ttn-vms-21-2-B4~10761 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4b0cbff96945f424a62e13fbe1143603cddb5100;p=emacs.git (easy-menu-add-item): Don't default to the global map. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 91b66be53ab..2390fbd90d0 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -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. diff --git a/lisp/emacs-lisp/easymenu.el b/lisp/emacs-lisp/easymenu.el index 47880408d75..6ed2903f8ae 100644 --- a/lisp/emacs-lisp/easymenu.el +++ b/lisp/emacs-lisp/easymenu.el @@ -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))