diff options
author | Kenichi Handa <handa@m17n.org> | 2006-05-08 07:56:14 +0000 |
---|---|---|
committer | Kenichi Handa <handa@m17n.org> | 2006-05-08 07:56:14 +0000 |
commit | 76a25e793682c3c59084c99b5577443bbd786a41 (patch) | |
tree | c567be4197c86e1937157f413029a393d95a98fe /src/callproc.c | |
parent | 3f0b133f7662e6280b357b0fcf6031f953e16b58 (diff) | |
download | emacs-76a25e793682c3c59084c99b5577443bbd786a41.tar.gz |
(Fcall_process): Use system_eol_type for encoding
arguments if eol_type is not yet decided.
Diffstat (limited to 'src/callproc.c')
-rw-r--r-- | src/callproc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/callproc.c b/src/callproc.c index 9f90e9d7537..8cf261c646f 100644 --- a/src/callproc.c +++ b/src/callproc.c @@ -295,6 +295,8 @@ usage: (call-process PROGRAM &optional INFILE BUFFER DISPLAY &rest ARGS) */) val = Qnil; } setup_coding_system (Fcheck_coding_system (val), &argument_coding); + if (argument_coding.eol_type == CODING_EOL_UNDECIDED) + argument_coding.eol_type = system_eol_type; } } |