1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-14 09:39:42 +00:00
Commit Graph

63 Commits

Author SHA1 Message Date
Karl Heuer
91a5e36784 (tmm-get-keybind): Doc fix. 1996-01-04 23:50:50 +00:00
Richard M. Stallman
bdbc768529 (tmm-prompt): Major cleanups. Handle pop-menu case nicely.
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.
1996-01-02 06:35:43 +00:00
Richard M. Stallman
77cc5db0c3 (tmm-menubar-mouse): New function, handles [menu-bar mouse-1].
(tmm-menubar): New arg x-position.
(tmm-prompt): New arg default-item specifies item to offer by default.
1996-01-02 05:59:20 +00:00
Richard M. Stallman
c5c4b51cc6 (tmm-prompt): Delete tmm-add-prompt if we fail.
Don't switch to *Completions* if it wasn't created.
1995-11-18 15:57:50 +00:00
Richard M. Stallman
10fe2d3844 (tmm-define-keys): Don't define ESC ESC. 1995-11-13 03:20:37 +00:00
Richard M. Stallman
6d0150f9a7 Define menu-bar mouse-1 as tmm-menubar. 1995-11-11 04:06:54 +00:00
Richard M. Stallman
b46324e6b3 (tmm-define-keys): New subroutine.
(tmm-add-prompt): Use that to define keys in both maps separately.

Use f10 as well as M-`.
1995-11-10 17:29:36 +00:00
Richard M. Stallman
be01074898 Comment change. 1995-10-30 17:35:01 +00:00
Richard M. Stallman
fc225f6691 (tmm-old-mb-map): Initialize to nil.
(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.
1995-10-30 16:33:49 +00:00
Richard M. Stallman
e6a5c7de38 Fix typo in global-map define. 1995-08-28 00:15:59 +00:00
Richard M. Stallman
afb1835e0b Don't alter bindings in minibuffer-local-must-match-map
or completion-list-mode-map.
(tmm-add-prompt): Use make-local-hook; add hook locally.
(tmm-delete-map): Delete hook locally.
1995-08-03 17:39:53 +00:00
Richard M. Stallman
d440e4741a Comment change. 1995-03-11 03:58:31 +00:00
Richard M. Stallman
20062d6bc8 Initial revision 1995-03-11 03:57:25 +00:00