diff options
| author | Eli Zaretskii | 1998-04-15 15:44:16 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 1998-04-15 15:44:16 +0000 |
| commit | 3b440bb5918d54d503a7059fb3e2b1ee860ac4b7 (patch) | |
| tree | e1e2ee9c3b7410f4d1667acc7072b20bdcf794a7 /src | |
| parent | 7ffaf65994ab9c5bee7a5992708d5c068dd863b1 (diff) | |
| download | emacs-3b440bb5918d54d503a7059fb3e2b1ee860ac4b7.tar.gz emacs-3b440bb5918d54d503a7059fb3e2b1ee860ac4b7.zip | |
(Fcall_process): Call
after-insert-file-set-buffer-file-coding-system if
inherit-process-coding-system is non-nil.
Diffstat (limited to 'src')
| -rw-r--r-- | src/callproc.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/callproc.c b/src/callproc.c index 0b1a04d5de7..0c9ce9a3a1c 100644 --- a/src/callproc.c +++ b/src/callproc.c | |||
| @@ -717,10 +717,16 @@ If you quit, the process is killed with SIGINT, or SIGKILL if you quit again.") | |||
| 717 | QUIT; | 717 | QUIT; |
| 718 | } | 718 | } |
| 719 | give_up: ; | 719 | give_up: ; |
| 720 | } | ||
| 721 | 720 | ||
| 722 | Vlast_coding_system_used = process_coding.symbol; | 721 | Vlast_coding_system_used = process_coding.symbol; |
| 723 | 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)); | ||
| 728 | } | ||
| 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 | ||