Change `keyboard-translate-table' to be terminal-local.
authorKaroly Lorentey <lorentey@elte.hu>
Fri, 28 Oct 2005 14:29:24 +0000 (14:29 +0000)
committerKaroly Lorentey <lorentey@elte.hu>
Fri, 28 Oct 2005 14:29:24 +0000 (14:29 +0000)
commit2e4782930af512802ac0ee1067d22b5136524dfc
treed6d1f6be38ffa2b3e7c917246c7a28ce0db58f28
parent7a81ec10b3821910ca633767b521259a056dbebe
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
README.multi-tty
lisp/obsolete/keyswap.el
lisp/simple.el
lisp/subr.el
src/keyboard.c
src/keyboard.h
src/keymap.c