diff options
author | Karoly Lorentey <lorentey@elte.hu> | 2005-10-28 14:29:24 +0000 |
---|---|---|
committer | Karoly Lorentey <lorentey@elte.hu> | 2005-10-28 14:29:24 +0000 |
commit | 2e4782930af512802ac0ee1067d22b5136524dfc (patch) | |
tree | d6d1f6be38ffa2b3e7c917246c7a28ce0db58f28 /src/keyboard.h | |
parent | 7a81ec10b3821910ca633767b521259a056dbebe (diff) | |
download | emacs-2e4782930af512802ac0ee1067d22b5136524dfc.tar.gz |
Change `keyboard-translate-table' to be terminal-local.
* lisp/subr.el (keyboard-translate): Use `terminal-local-value' to access `keyboard-translate-table'.
* lisp/obsolete/keyswap.el: Ditto.
* src/keyboard.c (Vkeyboard_translate_table): Moved to struct kboard.
* src/keyboard.h (Vkeyboard_translate_table): Moved to struct kboard.
* src/keyboard.c (read_char): Use current_kboard to access Vkeyboard_translate_table.
* src/keymap.c (Fdescribe_buffer_bindings): Ditto.
* src/keyboard.c (init_kboard): Initialize Vkeyboard_translate_table.
* src/keyboard.c (syms_of_keyboard): Use DEFVAR_KBOARD to define
Vkeyboard_translate_table. Update doc strings.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-431
Diffstat (limited to 'src/keyboard.h')
-rw-r--r-- | src/keyboard.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/keyboard.h b/src/keyboard.h index 690cb9cb177..48801dff216 100644 --- a/src/keyboard.h +++ b/src/keyboard.h @@ -81,6 +81,9 @@ struct kboard other commands. */ Lisp_Object Vreal_last_command; + /* User-supplied table to translate input characters through. */ + Lisp_Object Vkeyboard_translate_table; + /* The prefix argument for the next command, in raw form. */ Lisp_Object Vprefix_arg; @@ -302,8 +305,6 @@ struct input_event; extern Lisp_Object parse_modifiers P_ ((Lisp_Object)); extern Lisp_Object reorder_modifiers P_ ((Lisp_Object)); extern Lisp_Object read_char P_ ((int, int, Lisp_Object *, Lisp_Object, int *)); -/* User-supplied string to translate input characters through. */ -extern Lisp_Object Vkeyboard_translate_table; /* Parent keymap of terminal-local function-key-map instances. */ extern Lisp_Object Vfunction_key_map; |