Mercurial > emacs
comparison src/coding.c @ 21574:30394e3ae7f8
(syms_of_coding): Declare and define inherit-process-coding-system.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Wed, 15 Apr 1998 15:52:41 +0000 |
parents | ca4819c36ab9 |
children | 8043d47984fd |
comparison
equal
deleted
inserted
replaced
21573:92b33933ceeb | 21574:30394e3ae7f8 |
---|---|
318 Latin codes (espepcially for dealing with Microsoft code). */ | 318 Latin codes (espepcially for dealing with Microsoft code). */ |
319 Lisp_Object Vlatin_extra_code_table; | 319 Lisp_Object Vlatin_extra_code_table; |
320 | 320 |
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 | |
324 /* Flag to make buffer-file-coding-system inherit from process-coding. */ | |
325 int inherit_process_coding_system; | |
323 | 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 |
327 /* Coding system to be used to encode text for terminal display when | 330 /* Coding system to be used to encode text for terminal display when |
5188 | 5191 |
5189 DEFVAR_BOOL ("inhibit-eol-conversion", &inhibit_eol_conversion, | 5192 DEFVAR_BOOL ("inhibit-eol-conversion", &inhibit_eol_conversion, |
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\ |
5196 where PATTERN is a regular expression matching a file name,\n\ | 5205 where PATTERN is a regular expression matching a file name,\n\ |
5197 VAL is a coding system, a cons of coding systems, or a function symbol.\n\ | 5206 VAL is a coding system, a cons of coding systems, or a function symbol.\n\ |