easy-menu-get-map

easy-menu-get-map is a compiled Lisp function in `easymenu.el'.

(easy-menu-get-map MAP PATH &optional TO-MODIFY)

Return a sparse keymap in which to add or remove an item.
MAP and PATH are as defined in `easy-menu-add-item'.

TO-MODIFY, if non-nil, is the name of the item the caller
wants to modify in the map that we return.
In some cases we use that to select between the local and global maps.