(Fcall_process): Sync with HEAD.
authorKenichi Handa <handa@m17n.org>
Mon, 15 May 2006 02:47:29 +0000 (02:47 +0000)
committerKenichi Handa <handa@m17n.org>
Mon, 15 May 2006 02:47:29 +0000 (02:47 +0000)
src/callproc.c

index 5f314f4..7fd601f 100644 (file)
@@ -294,9 +294,8 @@ usage: (call-process PROGRAM &optional INFILE BUFFER DISPLAY &rest ARGS)  */)
            else
              val = Qnil;
          }
+       val = coding_inherit_eol_type (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;
       }
   }