1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-21 07:30:50 -08:00

(easy-menu-define-key): Understand the case where the keymap is a symbol.

This commit is contained in:
Stefan Monnier 2004-11-10 15:15:43 +00:00
parent e9146d5acc
commit d0db69919b

View file

@ -378,6 +378,7 @@ otherwise put the new binding last in MENU.
BEFORE can be either a string (menu item name) or a symbol
\(the fake function key for the menu item).
KEY does not have to be a symbol, and comparison is done with equal."
(if (symbolp menu) (setq menu (indirect-function menu)))
(let ((inserted (null item)) ; Fake already inserted.
tail done)
(while (not done)