aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa2002-07-09 00:12:23 +0000
committerKenichi Handa2002-07-09 00:12:23 +0000
commitb252f80121bac145a278a29d070596bba1715c4b (patch)
treeaa8e6e35c71ef110a4588ce3ab237b26d213e6f2 /src
parent9406d1d986e45c464b24733525d2797cbed5ee6b (diff)
downloademacs-b252f80121bac145a278a29d070596bba1715c4b.tar.gz
emacs-b252f80121bac145a278a29d070596bba1715c4b.zip
(Fcall_process): Fix previous change.
Diffstat (limited to 'src')
-rw-r--r--src/callproc.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/callproc.c b/src/callproc.c
index ddc134658ca..f671c044419 100644
--- a/src/callproc.c
+++ b/src/callproc.c
@@ -787,7 +787,12 @@ usage: (call-process PROGRAM &optional INFILE BUFFER DISPLAY &rest ARGS) */)
787 size = decoding_buffer_size (&process_coding, nread); 787 size = decoding_buffer_size (&process_coding, nread);
788 decoding_buf = (char *) xmalloc (size); 788 decoding_buf = (char *) xmalloc (size);
789 789
790 if (CODING_REQUIRE_DETECTION (&process_coding)) 790 /* We can't use the macro CODING_REQUIRE_DETECTION
791 because it always returns nonzero if the coding
792 system requires EOL detection. Here, we have to
793 check only whether or not the coding system
794 requires text-encoding detection. */
795 if (process_coding.type == coding_type_undecided)
791 { 796 {
792 detect_coding (&process_coding, bufptr, nread); 797 detect_coding (&process_coding, bufptr, nread);
793 if (process_coding.composing != COMPOSITION_DISABLED) 798 if (process_coding.composing != COMPOSITION_DISABLED)