diff options
| author | Eli Zaretskii | 2009-01-17 19:14:01 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2009-01-17 19:14:01 +0000 |
| commit | d3ae77bcb9a3d5386da6206f8bae5818430f30dc (patch) | |
| tree | 489d1b88ce97843d6b44bfd7bd9f6af77be0af7c | |
| parent | 490f11979e08aae4b4bab3e44f730895b83d1a43 (diff) | |
| download | emacs-d3ae77bcb9a3d5386da6206f8bae5818430f30dc.tar.gz emacs-d3ae77bcb9a3d5386da6206f8bae5818430f30dc.zip | |
(Event Mod): `keyboard-translate-table' is now terminal-local.
(Function Keys): Rename function-key-map to local-function-key-map.
| -rw-r--r-- | doc/lispref/commands.texi | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/doc/lispref/commands.texi b/doc/lispref/commands.texi index 2066da5a35d..f25f2ba3a0f 100644 --- a/doc/lispref/commands.texi +++ b/doc/lispref/commands.texi | |||
| @@ -1145,11 +1145,11 @@ Lisp programs by representing the former as the integer 9, and the | |||
| 1145 | latter as the symbol @code{tab}. | 1145 | latter as the symbol @code{tab}. |
| 1146 | 1146 | ||
| 1147 | Most of the time, it's not useful to distinguish the two. So normally | 1147 | Most of the time, it's not useful to distinguish the two. So normally |
| 1148 | @code{function-key-map} (@pxref{Translation Keymaps}) is set up to map | 1148 | @code{local-function-key-map} (@pxref{Translation Keymaps}) is set up |
| 1149 | @code{tab} into 9. Thus, a key binding for character code 9 (the | 1149 | to map @code{tab} into 9. Thus, a key binding for character code 9 |
| 1150 | character @kbd{C-i}) also applies to @code{tab}. Likewise for the other | 1150 | (the character @kbd{C-i}) also applies to @code{tab}. Likewise for |
| 1151 | symbols in this group. The function @code{read-char} likewise converts | 1151 | the other symbols in this group. The function @code{read-char} |
| 1152 | these events into characters. | 1152 | likewise converts these events into characters. |
| 1153 | 1153 | ||
| 1154 | In @acronym{ASCII}, @key{BS} is really @kbd{C-h}. But @code{backspace} | 1154 | In @acronym{ASCII}, @key{BS} is really @kbd{C-h}. But @code{backspace} |
| 1155 | converts into the character code 127 (@key{DEL}), not into code 8 | 1155 | converts into the character code 127 (@key{DEL}), not into code 8 |
| @@ -2438,10 +2438,11 @@ the keyboard, and has no effect on mouse events or any other events. | |||
| 2438 | @end defvar | 2438 | @end defvar |
| 2439 | 2439 | ||
| 2440 | @defvar keyboard-translate-table | 2440 | @defvar keyboard-translate-table |
| 2441 | This variable is the translate table for keyboard characters. It lets | 2441 | This terminal-local variable is the translate table for keyboard |
| 2442 | you reshuffle the keys on the keyboard without changing any command | 2442 | characters. It lets you reshuffle the keys on the keyboard without |
| 2443 | bindings. Its value is normally a char-table, or else @code{nil}. | 2443 | changing any command bindings. Its value is normally a char-table, or |
| 2444 | (It can also be a string or vector, but this is considered obsolete.) | 2444 | else @code{nil}. (It can also be a string or vector, but this is |
| 2445 | considered obsolete.) | ||
| 2445 | 2446 | ||
| 2446 | If @code{keyboard-translate-table} is a char-table | 2447 | If @code{keyboard-translate-table} is a char-table |
| 2447 | (@pxref{Char-Tables}), then each character read from the keyboard is | 2448 | (@pxref{Char-Tables}), then each character read from the keyboard is |