1686 |
@code{function-key-map}. |
@code{function-key-map}. |
1687 |
|
|
1688 |
@item |
@item |
1689 |
@code{key-translation-map} overrides actual key bindings. For example, |
Non-prefix bindings in @code{key-translation-map} override actual key |
1690 |
if @kbd{C-x f} has a binding in @code{key-translation-map}, that |
bindings. For example, if @kbd{C-x f} has a non-prefix binding in |
1691 |
translation takes effect even though @kbd{C-x f} also has a key binding |
@code{key-translation-map}, that translation takes effect even though |
1692 |
in the global map. |
@kbd{C-x f} also has a key binding in the global map. |
1693 |
@end itemize |
@end itemize |
1694 |
|
|
1695 |
|
Note however that actual key bindings can have an effect on |
1696 |
|
@code{key-translation-map}, even though they are overridden by it. |
1697 |
|
Indeed, actual key bindings override @code{function-key-map} and thus |
1698 |
|
may alter the key sequence that @code{key-translation-map} receives. |
1699 |
|
Clearly, it is better to avoid to avoid this type of situation. |
1700 |
|
|
1701 |
The intent of @code{key-translation-map} is for users to map one |
The intent of @code{key-translation-map} is for users to map one |
1702 |
character set to another, including ordinary characters normally bound |
character set to another, including ordinary characters normally bound |
1703 |
to @code{self-insert-command}. |
to @code{self-insert-command}. |