diff options
| author | Kenichi Handa | 1998-08-10 06:29:02 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1998-08-10 06:29:02 +0000 |
| commit | 6bc51348fdab0a2b58b52e3b48e08f7fccb29fb2 (patch) | |
| tree | b0f9299cdec270b0edfd38d064d99d578dd4f71f /src/coding.c | |
| parent | 0827f88d344862f67873988000a9558f332b257b (diff) | |
| download | emacs-6bc51348fdab0a2b58b52e3b48e08f7fccb29fb2.tar.gz emacs-6bc51348fdab0a2b58b52e3b48e08f7fccb29fb2.zip | |
(default_buffer_file_coding): New variable.
(init_coding_once): Initialize default_buffer_file_coding.
Diffstat (limited to 'src/coding.c')
| -rw-r--r-- | src/coding.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/coding.c b/src/coding.c index 7e00f4a60fa..3c69b07b971 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -336,6 +336,9 @@ struct coding_system safe_terminal_coding; | |||
| 336 | /* Coding system of what is sent from terminal keyboard. */ | 336 | /* Coding system of what is sent from terminal keyboard. */ |
| 337 | struct coding_system keyboard_coding; | 337 | struct coding_system keyboard_coding; |
| 338 | 338 | ||
| 339 | /* Default coding system to be used to write a file. */ | ||
| 340 | struct coding_system default_buffer_file_coding; | ||
| 341 | |||
| 339 | Lisp_Object Vfile_coding_system_alist; | 342 | Lisp_Object Vfile_coding_system_alist; |
| 340 | Lisp_Object Vprocess_coding_system_alist; | 343 | Lisp_Object Vprocess_coding_system_alist; |
| 341 | Lisp_Object Vnetwork_coding_system_alist; | 344 | Lisp_Object Vnetwork_coding_system_alist; |
| @@ -5182,6 +5185,7 @@ init_coding_once () | |||
| 5182 | setup_coding_system (Qnil, &keyboard_coding); | 5185 | setup_coding_system (Qnil, &keyboard_coding); |
| 5183 | setup_coding_system (Qnil, &terminal_coding); | 5186 | setup_coding_system (Qnil, &terminal_coding); |
| 5184 | setup_coding_system (Qnil, &safe_terminal_coding); | 5187 | setup_coding_system (Qnil, &safe_terminal_coding); |
| 5188 | setup_coding_system (Qnil, &default_buffer_file_coding); | ||
| 5185 | 5189 | ||
| 5186 | bzero (coding_system_table, sizeof coding_system_table); | 5190 | bzero (coding_system_table, sizeof coding_system_table); |
| 5187 | 5191 | ||