From 4b0cbff96945f424a62e13fbe1143603cddb5100 Mon Sep 17 00:00:00 2001 From: John Paul Wallington Date: Mon, 24 Mar 2003 12:21:02 +0000 Subject: [PATCH] (easy-menu-add-item): Don't default to the global map. --- lisp/ChangeLog | 3 +++ lisp/emacs-lisp/easymenu.el | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) 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)) -- 2.39.2