(tmm-add-shortcuts): Code moved to tmm-add-one-shortcut.
Handle tmm-shortcut-style and tmm-shortcut-words.
(tmm-define-keys): Use suppress-keymap.
Moved use-local-map from the caller here.
tmm-short-cuts is now a list of chars, not of one-char strings.
(tmm-completion-delete-prompt): New function, used in
completion-setup-hook.
(tmm-shortcut-style): New variable.
(tmm-shortcut-words): New variable.
(tmm-shortcut): Handle tmm-shortcut-style.
The shortcut searched in tmm-short-cuts is now a char, not a string.
Arg BIND renamed to MENU.
Look at MENU to decide whether it is a keymap.
Arg IN-POPUP now used only in recursive call.
Use "Menu bar" as the default menu name.
Delete some debugging code.
(tmm-delete-map): Don't use tmm-old-mb-map if nil.
(tmm-add-prompt): Bind C-n and C-p.
Put only the shortcuts into the completion buffer's map.
Produce the completion list by hand so as not to sort it.
(tmm-prompt): Start at the first item in the menu.
Don't reverse tmm-km-list; reverse compl-list instead.
Use try-completion in last-ditch attempt to find a match.
Rename compl-list to history.
(tmm-get-keybind): Put more local bindings last in a menu.
Major rewrite.
(tmm-menubar): Handle menu-bar-final-items.
(tmm-remove-shortcuts): Function deleted.
(tmm-add-shortcuts): If we can't find a letter shortcut,
use a numeric shortcut.