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:
parent
e9146d5acc
commit
d0db69919b
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue