Mercurial > emacs
diff src/keymap.c @ 109302:60516122d066
Merge changes from emacs-23 branch.
| author | Chong Yidong <cyd@stupidchicken.com> |
|---|---|
| date | Sat, 10 Jul 2010 14:52:53 -0400 |
| parents | 8cfee7d2955f d657dd1ad387 |
| children | 89a16701cde1 |
line wrap: on
line diff
--- a/src/keymap.c Sat Jul 10 17:29:46 2010 +0300 +++ b/src/keymap.c Sat Jul 10 14:52:53 2010 -0400 @@ -1126,11 +1126,13 @@ doc: /* In KEYMAP, define key sequence KEY as DEF. KEYMAP is a keymap. -KEY is a string or a vector of symbols and characters meaning a +KEY is a string or a vector of symbols and characters, representing a sequence of keystrokes and events. Non-ASCII characters with codes -above 127 (such as ISO Latin-1) can be included if you use a vector. -Using [t] for KEY creates a default definition, which applies to any -event type that has no other definition in this keymap. +above 127 (such as ISO Latin-1) can be represented by vectors. +Two types of vector have special meanings: + [remap COMMAND] remaps any key binding for COMMAND. + [t] creates a default definition, which applies to any event with no + other definition in KEYMAP. DEF is anything that can be a key's definition: nil (means key is undefined in this keymap),
