]> git.eshelyaron.com Git - emacs.git/commit
Change key-translation-map to be terminal-local.
authorKaroly Lorentey <lorentey@elte.hu>
Sun, 26 Jun 2005 21:06:46 +0000 (21:06 +0000)
committerKaroly Lorentey <lorentey@elte.hu>
Sun, 26 Jun 2005 21:06:46 +0000 (21:06 +0000)
commit4ea81208d4c43df774e540a603be8f68cb470466
tree27b139cd84bc56386476cf9af68225b44de136b3
parent1fb8c4adcbf2d3c833b3e6bbb86211109085fa86
Change key-translation-map to be terminal-local.

* src/keymap.c (Vkey_translation_map): Remove.
  (syms_of_keymap): Remove DEFVAR for key-translation-map.
  (Fdescribe_buffer_bindings): Update for terminal-local key-translation-map.

* src/keyboard.h (kboard): Add Vkey_translation_map field.
  (Vglobal_key_translation_map): Declare.

* src/keyboard.c (Vglobal_key_translation_map): New variable.
  (syms_of_keyboard): DEFVAR it and Vkey_translation_map.
  (mark_kboards): Mark key-translation-map.
  (read_key_sequence): Update for terminal-local key-translation-map.

* src/emacs.c (main): Call syms_of_keymap before syms_of_keyboard.

* lisp/term/mac-win.el (mac-handle-language-change): Use
  global-key-translation-map instead of key-translation-map.
* lisp/obsolete/iso-acc.el (iso-accents-customize): Ditto.
* lisp/international/iso-transl.el (iso-transl-ctl-x-8-map): Ditto.
* lisp/double.el (double-setup): Ditto.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-359
lisp/double.el
lisp/international/iso-transl.el
lisp/obsolete/iso-acc.el
lisp/term/mac-win.el
src/emacs.c
src/keyboard.c
src/keyboard.h
src/keymap.c