diff options
author | Karoly Lorentey <lorentey@elte.hu> | 2004-05-23 01:53:23 +0000 |
---|---|---|
committer | Karoly Lorentey <lorentey@elte.hu> | 2004-05-23 01:53:23 +0000 |
commit | b8299c66e3307372c1d5021cf420493db5d501b4 (patch) | |
tree | 4a1ee9727448df082b851b8cbcec72efa64d6fdf /src/coding.h | |
parent | 04a0dc45e1e3833a3a97e45f2b20197c8bec744a (diff) | |
download | emacs-b8299c66e3307372c1d5021cf420493db5d501b4.tar.gz emacs-b8299c66e3307372c1d5021cf420493db5d501b4.tar.bz2 emacs-b8299c66e3307372c1d5021cf420493db5d501b4.zip |
Make terminal_coding and keyboard_coding display-local.
src/coding.c: Include frame.h and termhooks.h.
(terminal_coding, keyboard_coding): Remove.
(Fset_terminal_coding_system_internal, Fterminal_coding_system):
Use the selected frame's terminal coding system.
(Fset_safe_terminal_coding_system_internal): Fix typo.
(Fset_keyboard_coding_system_internal, Fkeyboard_coding_system):
Use the selected frame's keyboard coding system.
(init_coding_once): Don't initialize keyboard_coding and terminal_coding.
src/coding.h (terminal_coding, keyboard_coding): Remove.
src/termhooks.h (terminal_coding, keyboard_coding): New members of
struct display.
(FRAME_TERMINAL_CODING, FRAME_KEYBOARD_CODING): New macros.
src/termchar.h (kboard): Cosmetic change.
src/term.c (encode_terminal_code): Add coding parameter.
(tty_write_glyphs): Use the display-local terminal coding system.
(create_display): Allocate and initialize coding systems.
(delete_display): Free coding systems.
src/xdisp.c (decode_mode_spec): Use display-local coding systems.
src/Makefile.in: Fix dependencies for termchar.h and termhooks.h.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-167
Diffstat (limited to 'src/coding.h')
-rw-r--r-- | src/coding.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/coding.h b/src/coding.h index bc8af2cc4a2..8eddf9d6855 100644 --- a/src/coding.h +++ b/src/coding.h @@ -688,20 +688,10 @@ extern Lisp_Object Vlocale_coding_system; the subprocess output. */ extern int inherit_process_coding_system; -/* Coding-system to be used for encoding terminal output. This - structure contains information of a coding-system specified by the - function `set-terminal-coding-system'. */ -extern struct coding_system terminal_coding; - /* Coding system to be used to encode text for terminal display when terminal coding system is nil. */ extern struct coding_system safe_terminal_coding; -/* Coding-system of what is sent from terminal keyboard. This - structure contains information of a coding-system specified by the - function `set-keyboard-coding-system'. */ -extern struct coding_system keyboard_coding; - /* Default coding system to be used to write a file. */ extern struct coding_system default_buffer_file_coding; |