diff options
Diffstat (limited to 'src/coding.c')
| -rw-r--r-- | src/coding.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/coding.c b/src/coding.c index 901eadf4337..6973a6d8e8e 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -321,6 +321,9 @@ Lisp_Object Vlatin_extra_code_table; | |||
| 321 | /* Flag to inhibit code conversion of end-of-line format. */ | 321 | /* Flag to inhibit code conversion of end-of-line format. */ |
| 322 | int inhibit_eol_conversion; | 322 | int inhibit_eol_conversion; |
| 323 | 323 | ||
| 324 | /* Flag to make buffer-file-coding-system inherit from process-coding. */ | ||
| 325 | int inherit_process_coding_system; | ||
| 326 | |||
| 324 | /* Coding system to be used to encode text for terminal display. */ | 327 | /* Coding system to be used to encode text for terminal display. */ |
| 325 | struct coding_system terminal_coding; | 328 | struct coding_system terminal_coding; |
| 326 | 329 | ||
| @@ -5190,6 +5193,12 @@ There are three such tables, `file-coding-system-alist',\n\ | |||
| 5190 | "*Non-nil inhibit code conversion of end-of-line format in any cases."); | 5193 | "*Non-nil inhibit code conversion of end-of-line format in any cases."); |
| 5191 | inhibit_eol_conversion = 0; | 5194 | inhibit_eol_conversion = 0; |
| 5192 | 5195 | ||
| 5196 | DEFVAR_BOOL ("inherit-process-coding-system", &inherit_process_coding_system, | ||
| 5197 | "Non-nil means process buffer inherits coding system of process output.\n\ | ||
| 5198 | Bind it to t if the process output is to be treated as if it were a file\n\ | ||
| 5199 | read from some filesystem."); | ||
| 5200 | inherit_process_coding_system = 0; | ||
| 5201 | |||
| 5193 | DEFVAR_LISP ("file-coding-system-alist", &Vfile_coding_system_alist, | 5202 | DEFVAR_LISP ("file-coding-system-alist", &Vfile_coding_system_alist, |
| 5194 | "Alist to decide a coding system to use for a file I/O operation.\n\ | 5203 | "Alist to decide a coding system to use for a file I/O operation.\n\ |
| 5195 | The format is ((PATTERN . VAL) ...),\n\ | 5204 | The format is ((PATTERN . VAL) ...),\n\ |