changeset 70521:2a2e0198d0cf

(Fcall_process): Use system_eol_type for encoding arguments if eol_type is not yet decided.
author Kenichi Handa <handa@m17n.org>
date Mon, 08 May 2006 07:56:05 +0000
parents b6740a317343
children 4f9cf38bdaa0
files src/callproc.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/callproc.c	Mon May 08 05:25:02 2006 +0000
+++ b/src/callproc.c	Mon May 08 07:56:05 2006 +0000
@@ -295,6 +295,8 @@
 	      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;
       }
   }