/[emacs]/emacs/src/callproc.c
ViewVC logotype

Diff of /emacs/src/callproc.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.181.2.1 by handa, Fri Mar 1 01:11:12 2002 UTC revision 1.181.2.2 by handa, Tue May 7 04:50:09 2002 UTC
# Line 770  usage: (call-process PROGRAM &optional I Line 770  usage: (call-process PROGRAM &optional I
770                insert_1_both (bufptr, nread, nread, 0, 1, 0);                insert_1_both (bufptr, nread, nread, 0, 1, 0);
771              else              else
772                {                 /* We have to decode the input.  */                {                 /* We have to decode the input.  */
773                    Lisp_Object buf;
774    
775                    XSETBUFFER (buf, current_buffer);
776                  decode_coding_c_string (&process_coding, bufptr, nread,                  decode_coding_c_string (&process_coding, bufptr, nread,
777                                          buffer);                                          buf);
778                  if (display_on_the_fly                  if (display_on_the_fly
779                      && CODING_REQUIRE_DETECTION (&saved_coding)                      && CODING_REQUIRE_DETECTION (&saved_coding)
780                      && ! CODING_REQUIRE_DETECTION (&process_coding))                      && ! CODING_REQUIRE_DETECTION (&process_coding))
# Line 793  usage: (call-process PROGRAM &optional I Line 796  usage: (call-process PROGRAM &optional I
796                      continue;                      continue;
797                    }                    }
798                                    
799                    TEMP_SET_PT_BOTH (PT + process_coding.produced_char,
800                                      PT_BYTE + process_coding.produced);
801                  nread -= process_coding.consumed;                  nread -= process_coding.consumed;
802                  carryover = nread;                  carryover = nread;
803                  if (carryover > 0)                  if (carryover > 0)

Legend:
Removed from v.1.181.2.1  
changed lines
  Added in v.1.181.2.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26