aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii1998-04-15 15:52:41 +0000
committerEli Zaretskii1998-04-15 15:52:41 +0000
commited29121d27adc780ecaed0f724e5de7e24725f6a (patch)
tree906210c638c37ab25fb8272806fafeb44453707d /src
parent77a9bc9a3fa375a6a54e1bf2c9b03db41ca5d4c5 (diff)
downloademacs-ed29121d27adc780ecaed0f724e5de7e24725f6a.tar.gz
emacs-ed29121d27adc780ecaed0f724e5de7e24725f6a.zip
(syms_of_coding): Declare and define inherit-process-coding-system.
Diffstat (limited to 'src')
-rw-r--r--src/coding.c9
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. */
322int inhibit_eol_conversion; 322int inhibit_eol_conversion;
323 323
324/* Flag to make buffer-file-coding-system inherit from process-coding. */
325int 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. */
325struct coding_system terminal_coding; 328struct 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\
5198Bind it to t if the process output is to be treated as if it were a file\n\
5199read 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\
5195The format is ((PATTERN . VAL) ...),\n\ 5204The format is ((PATTERN . VAL) ...),\n\