aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.h
diff options
context:
space:
mode:
authorKaroly Lorentey2004-05-23 01:53:23 +0000
committerKaroly Lorentey2004-05-23 01:53:23 +0000
commitb8299c66e3307372c1d5021cf420493db5d501b4 (patch)
tree4a1ee9727448df082b851b8cbcec72efa64d6fdf /src/coding.h
parent04a0dc45e1e3833a3a97e45f2b20197c8bec744a (diff)
downloademacs-b8299c66e3307372c1d5021cf420493db5d501b4.tar.gz
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.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;
688 the subprocess output. */ 688 the subprocess output. */
689extern int inherit_process_coding_system; 689extern int inherit_process_coding_system;
690 690
691/* Coding-system to be used for encoding terminal output. This
692 structure contains information of a coding-system specified by the
693 function `set-terminal-coding-system'. */
694extern struct coding_system terminal_coding;
695
696/* Coding system to be used to encode text for terminal display when 691/* Coding system to be used to encode text for terminal display when
697 terminal coding system is nil. */ 692 terminal coding system is nil. */
698extern struct coding_system safe_terminal_coding; 693extern struct coding_system safe_terminal_coding;
699 694
700/* Coding-system of what is sent from terminal keyboard. This
701 structure contains information of a coding-system specified by the
702 function `set-keyboard-coding-system'. */
703extern struct coding_system keyboard_coding;
704
705/* Default coding system to be used to write a file. */ 695/* Default coding system to be used to write a file. */
706extern struct coding_system default_buffer_file_coding; 696extern struct coding_system default_buffer_file_coding;
707 697