aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/process.c b/src/process.c
index ce6ea82cffa..540b10681a5 100644
--- a/src/process.c
+++ b/src/process.c
@@ -2952,6 +2952,7 @@ read_process_output (proc, channel)
2952 2952
2953 text = decode_coding_string (make_unibyte_string (chars, nbytes), 2953 text = decode_coding_string (make_unibyte_string (chars, nbytes),
2954 coding, 0); 2954 coding, 0);
2955 Vlast_coding_system_used = coding->symbol;
2955 /* A new coding system might be found. */ 2956 /* A new coding system might be found. */
2956 if (!EQ (p->decode_coding_system, coding->symbol)) 2957 if (!EQ (p->decode_coding_system, coding->symbol))
2957 { 2958 {
@@ -3064,6 +3065,7 @@ read_process_output (proc, channel)
3064 the buffer's mark is, and the user's next command is Meta-y. */ 3065 the buffer's mark is, and the user's next command is Meta-y. */
3065 text = decode_coding_string (make_unibyte_string (chars, nbytes), 3066 text = decode_coding_string (make_unibyte_string (chars, nbytes),
3066 coding, 0); 3067 coding, 0);
3068 Vlast_coding_system_used = coding->symbol;
3067 /* A new coding system might be found. See the comment in the 3069 /* A new coding system might be found. See the comment in the
3068 similar code in the previous `if' block. */ 3070 similar code in the previous `if' block. */
3069 if (!EQ (p->decode_coding_system, coding->symbol)) 3071 if (!EQ (p->decode_coding_system, coding->symbol))