Mercurial > emacs
changeset 101263:0f0b2866dcbb
(Event Mod): `keyboard-translate-table' is now terminal-local.
(Function Keys): Rename function-key-map to local-function-key-map.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sat, 17 Jan 2009 19:14:01 +0000 |
parents | 637264bf9fd5 |
children | e053f08d03ae |
files | doc/lispref/commands.texi |
diffstat | 1 files changed, 10 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/lispref/commands.texi Sat Jan 17 18:47:53 2009 +0000 +++ b/doc/lispref/commands.texi Sat Jan 17 19:14:01 2009 +0000 @@ -1145,11 +1145,11 @@ latter as the symbol @code{tab}. Most of the time, it's not useful to distinguish the two. So normally -@code{function-key-map} (@pxref{Translation Keymaps}) is set up to map -@code{tab} into 9. Thus, a key binding for character code 9 (the -character @kbd{C-i}) also applies to @code{tab}. Likewise for the other -symbols in this group. The function @code{read-char} likewise converts -these events into characters. +@code{local-function-key-map} (@pxref{Translation Keymaps}) is set up +to map @code{tab} into 9. Thus, a key binding for character code 9 +(the character @kbd{C-i}) also applies to @code{tab}. Likewise for +the other symbols in this group. The function @code{read-char} +likewise converts these events into characters. In @acronym{ASCII}, @key{BS} is really @kbd{C-h}. But @code{backspace} converts into the character code 127 (@key{DEL}), not into code 8 @@ -2438,10 +2438,11 @@ @end defvar @defvar keyboard-translate-table -This variable is the translate table for keyboard characters. It lets -you reshuffle the keys on the keyboard without changing any command -bindings. Its value is normally a char-table, or else @code{nil}. -(It can also be a string or vector, but this is considered obsolete.) +This terminal-local variable is the translate table for keyboard +characters. It lets you reshuffle the keys on the keyboard without +changing any command bindings. Its value is normally a char-table, or +else @code{nil}. (It can also be a string or vector, but this is +considered obsolete.) If @code{keyboard-translate-table} is a char-table (@pxref{Char-Tables}), then each character read from the keyboard is