Skip to content

Commit

Permalink
(Fstart_process):Pay attention to
Browse files Browse the repository at this point in the history
Vdefault_process_coding_system.
(Fopen_network_stream): Likewise.
  • Loading branch information
Kenichi Handa committed Jun 9, 1997
1 parent 626e179 commit 8030398
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions src/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -1182,6 +1182,8 @@ Remaining arguments are strings to give program as arguments.")
UNGCPRO;
if (CONSP (coding_systems))
val = XCONS (coding_systems)->car;
else if (CONSP (Vdefault_process_coding_system))
val = XCONS (Vdefault_process_coding_system)->car;
}
XPROCESS (proc)->decode_coding_system = val;

Expand All @@ -1198,6 +1200,8 @@ Remaining arguments are strings to give program as arguments.")
}
if (CONSP (coding_systems))
val = XCONS (coding_systems)->cdr;
else if (CONSP (Vdefault_process_coding_system))
val = XCONS (Vdefault_process_coding_system)->cdr;
}
XPROCESS (proc)->encode_coding_system = val;
}
Expand Down Expand Up @@ -1907,7 +1911,10 @@ Fourth arg SERVICE is name of the service desired, or an integer\n\
GCPRO1 (proc);
coding_systems = Ffind_coding_system (5, args);
UNGCPRO;
val = (CONSP (coding_systems) ? XCONS (coding_systems)->car : Qnil);
if (CONSP (coding_systems))
val = XCONS (coding_systems)->car;
else if (CONSP (Vdefault_process_coding_system))
val = XCONS (Vdefault_process_coding_system)->car;
}
XPROCESS (proc)->decode_coding_system = val;

Expand All @@ -1921,7 +1928,10 @@ Fourth arg SERVICE is name of the service desired, or an integer\n\
coding_systems = Ffind_coding_system (5, args);
UNGCPRO;
}
val = (CONSP (coding_systems) ? XCONS (coding_systems)->cdr : Qnil);
if (CONSP (coding_systems))
val = XCONS (coding_systems)->cdr;
else if (CONSP (Vdefault_process_coding_system))
val = XCONS (Vdefault_process_coding_system)->cdr;
}
XPROCESS (proc)->encode_coding_system = val;
}
Expand Down

0 comments on commit 8030398

Please sign in to comment.