Mercurial > emacs
changeset 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 | 92b33933ceeb |
children | 6300c1c645da |
files | src/coding.c |
diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/coding.c Wed Apr 15 15:48:45 1998 +0000 +++ b/src/coding.c Wed Apr 15 15:52:41 1998 +0000 @@ -321,6 +321,9 @@ /* Flag to inhibit code conversion of end-of-line format. */ int inhibit_eol_conversion; +/* Flag to make buffer-file-coding-system inherit from process-coding. */ +int inherit_process_coding_system; + /* Coding system to be used to encode text for terminal display. */ struct coding_system terminal_coding; @@ -5190,6 +5193,12 @@ "*Non-nil inhibit code conversion of end-of-line format in any cases."); inhibit_eol_conversion = 0; + DEFVAR_BOOL ("inherit-process-coding-system", &inherit_process_coding_system, + "Non-nil means process buffer inherits coding system of process output.\n\ +Bind it to t if the process output is to be treated as if it were a file\n\ +read from some filesystem."); + inherit_process_coding_system = 0; + DEFVAR_LISP ("file-coding-system-alist", &Vfile_coding_system_alist, "Alist to decide a coding system to use for a file I/O operation.\n\ The format is ((PATTERN . VAL) ...),\n\