changeset 22979:ceb8e4a89a32

(default_buffer_file_coding): New variable. (init_coding_once): Initialize default_buffer_file_coding.
author Kenichi Handa <handa@m17n.org>
date Mon, 10 Aug 1998 06:29:02 +0000
parents 6535413fa872
children 5681e7798ce9
files src/coding.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/coding.c	Mon Aug 10 06:29:02 1998 +0000
+++ b/src/coding.c	Mon Aug 10 06:29:02 1998 +0000
@@ -336,6 +336,9 @@
 /* Coding system of what is sent from terminal keyboard.  */
 struct coding_system keyboard_coding;
 
+/* Default coding system to be used to write a file.  */
+struct coding_system default_buffer_file_coding;
+
 Lisp_Object Vfile_coding_system_alist;
 Lisp_Object Vprocess_coding_system_alist;
 Lisp_Object Vnetwork_coding_system_alist;
@@ -5182,6 +5185,7 @@
   setup_coding_system (Qnil, &keyboard_coding);
   setup_coding_system (Qnil, &terminal_coding);
   setup_coding_system (Qnil, &safe_terminal_coding);
+  setup_coding_system (Qnil, &default_buffer_file_coding);
 
   bzero (coding_system_table, sizeof coding_system_table);