summaryrefslogtreecommitdiff
path: root/src/coding.h
diff options
context:
space:
mode:
authorKaroly Lorentey <lorentey@elte.hu>2004-05-23 01:53:23 +0000
committerKaroly Lorentey <lorentey@elte.hu>2004-05-23 01:53:23 +0000
commit64c538ab7d8327dbc4ce2f873014697110563099 (patch)
tree68216d4ba9a7fe3c423a22247a4138a51cb9a0cf /src/coding.h
parent0ba3705d2dc5c6a13850190ba7a72402688c35ef (diff)
downloademacs-64c538ab7d8327dbc4ce2f873014697110563099.tar.gz
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.h10
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;