comparison src/callproc.c @ 21572:395ad34c576a

(Fcall_process): Call after-insert-file-set-buffer-file-coding-system if inherit-process-coding-system is non-nil.
author Eli Zaretskii <eliz@gnu.org>
date Wed, 15 Apr 1998 15:44:16 +0000
parents 62a4efbdc4b4
children ad899130056e
comparison
equal deleted inserted replaced
21571:add6627452a5 21572:395ad34c576a
715 } 715 }
716 immediate_quit = 1; 716 immediate_quit = 1;
717 QUIT; 717 QUIT;
718 } 718 }
719 give_up: ; 719 give_up: ;
720
721 Vlast_coding_system_used = process_coding.symbol;
722
723 /* If the caller required, let the buffer inherit the
724 coding-system used to decode the process output. */
725 if (inherit_process_coding_system)
726 call1 (intern ("after-insert-file-set-buffer-file-coding-system"),
727 make_number (total_read));
720 } 728 }
721
722 Vlast_coding_system_used = process_coding.symbol;
723 729
724 /* Wait for it to terminate, unless it already has. */ 730 /* Wait for it to terminate, unless it already has. */
725 wait_for_termination (pid); 731 wait_for_termination (pid);
726 732
727 immediate_quit = 0; 733 immediate_quit = 0;