summaryrefslogtreecommitdiff
path: root/src/keymap.c
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2010-06-19 14:02:41 -0400
committerChong Yidong <cyd@stupidchicken.com>2010-06-19 14:02:41 -0400
commit277c5f18026217608e4ca773e5a74899b46d4575 (patch)
treebeaf922128f6ed7568d9b55b7b9af7af69c0aa4f /src/keymap.c
parent024681aa4de727cab9420183a5869f1732bad3be (diff)
downloademacs-277c5f18026217608e4ca773e5a74899b46d4575.tar.gz
* keymap.c (Fdefine_key): Doc fix (Bug#6460).
Diffstat (limited to 'src/keymap.c')
-rw-r--r--src/keymap.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/keymap.c b/src/keymap.c
index 53b6795d623..b5efd12cd6e 100644
--- a/src/keymap.c
+++ b/src/keymap.c
@@ -1175,11 +1175,13 @@ DEFUN ("define-key", Fdefine_key, Sdefine_key, 3, 3, 0,
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 in KEYMAP.
+ [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),