Mercurial > emacs
changeset 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 | add6627452a5 |
children | 92b33933ceeb |
files | src/callproc.c |
diffstat | 1 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/callproc.c Wed Apr 15 15:37:58 1998 +0000 +++ b/src/callproc.c Wed Apr 15 15:44:16 1998 +0000 @@ -717,10 +717,16 @@ QUIT; } give_up: ; - } Vlast_coding_system_used = process_coding.symbol; + /* If the caller required, let the buffer inherit the + coding-system used to decode the process output. */ + if (inherit_process_coding_system) + call1 (intern ("after-insert-file-set-buffer-file-coding-system"), + make_number (total_read)); + } + /* Wait for it to terminate, unless it already has. */ wait_for_termination (pid);