1078 |
|
|
1079 |
DEF is anything that can be a key's definition: |
DEF is anything that can be a key's definition: |
1080 |
nil (means key is undefined in this keymap), |
nil (means key is undefined in this keymap), |
1081 |
a command (a Lisp function suitable for interactive calling) |
a command (a Lisp function suitable for interactive calling), |
1082 |
a string (treated as a keyboard macro), |
a string (treated as a keyboard macro), |
1083 |
a keymap (to define a prefix key), |
a keymap (to define a prefix key), |
1084 |
a symbol. When the key is looked up, the symbol will stand for its |
a symbol (when the key is looked up, the symbol will stand for its |
1085 |
function definition, which should at that time be one of the above, |
function definition, which should at that time be one of the above, |
1086 |
or another symbol whose function definition is used, etc. |
or another symbol whose function definition is used, etc.), |
1087 |
a cons (STRING . DEFN), meaning that DEFN is the definition |
a cons (STRING . DEFN), meaning that DEFN is the definition |
1088 |
(DEFN should be a valid definition in its own right), |
(DEFN should be a valid definition in its own right), |
1089 |
or a cons (KEYMAP . CHAR), meaning use definition of CHAR in map KEYMAP. |
or a cons (MAP . CHAR), meaning use definition of CHAR in keymap MAP. |
1090 |
|
|
1091 |
If KEYMAP is a sparse keymap with a binding for KEY, the existing |
If KEYMAP is a sparse keymap with a binding for KEY, the existing |
1092 |
binding is altered. If there is no binding for KEY, the new pair |
binding is altered. If there is no binding for KEY, the new pair |