comparison src/keymap.c @ 46142:03d01403f6b7

(Fdefine_key): Doc fix.
author Richard M. Stallman <rms@gnu.org>
date Tue, 02 Jul 2002 19:13:12 +0000
parents 14893800e663
children 1fb8f75062c6
comparison
equal deleted inserted replaced
46141:c7c9340eeb69 46142:03d01403f6b7
971 KEYMAP is a keymap. 971 KEYMAP is a keymap.
972 972
973 KEY is a string or a vector of symbols and characters meaning a 973 KEY is a string or a vector of symbols and characters meaning a
974 sequence of keystrokes and events. Non-ASCII characters with codes 974 sequence of keystrokes and events. Non-ASCII characters with codes
975 above 127 (such as ISO Latin-1) can be included if you use a vector. 975 above 127 (such as ISO Latin-1) can be included if you use a vector.
976 Using [t] for KEY creates a default definition, which applies to any
977 event type that has no other definition in thus keymap.
976 978
977 DEF is anything that can be a key's definition: 979 DEF is anything that can be a key's definition:
978 nil (means key is undefined in this keymap), 980 nil (means key is undefined in this keymap),
979 a command (a Lisp function suitable for interactive calling) 981 a command (a Lisp function suitable for interactive calling)
980 a string (treated as a keyboard macro), 982 a string (treated as a keyboard macro),