diff options
Diffstat (limited to 'src/coding.c')
| -rw-r--r-- | src/coding.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/coding.c b/src/coding.c index 212eb8275fe..e4ed65079d9 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -7931,15 +7931,12 @@ encode_coding_object (struct coding_system *coding, | |||
| 7931 | } | 7931 | } |
| 7932 | 7932 | ||
| 7933 | { | 7933 | { |
| 7934 | Lisp_Object args[3]; | ||
| 7935 | struct gcpro gcpro1, gcpro2, gcpro3, gcpro4, gcpro5; | 7934 | struct gcpro gcpro1, gcpro2, gcpro3, gcpro4, gcpro5; |
| 7936 | 7935 | ||
| 7937 | GCPRO5 (coding->src_object, coding->dst_object, src_object, dst_object, | 7936 | GCPRO5 (coding->src_object, coding->dst_object, src_object, dst_object, |
| 7938 | old_deactivate_mark); | 7937 | old_deactivate_mark); |
| 7939 | args[0] = CODING_ATTR_PRE_WRITE (attrs); | 7938 | safe_call2 (CODING_ATTR_PRE_WRITE (attrs), |
| 7940 | args[1] = make_number (BEG); | 7939 | make_number (BEG), make_number (Z)); |
| 7941 | args[2] = make_number (Z); | ||
| 7942 | safe_call (3, args); | ||
| 7943 | UNGCPRO; | 7940 | UNGCPRO; |
| 7944 | } | 7941 | } |
| 7945 | if (XBUFFER (coding->src_object) != current_buffer) | 7942 | if (XBUFFER (coding->src_object) != current_buffer) |
| @@ -10411,7 +10408,7 @@ syms_of_coding (void) | |||
| 10411 | 10408 | ||
| 10412 | DEFSYM (Qcoding_system_error, "coding-system-error"); | 10409 | DEFSYM (Qcoding_system_error, "coding-system-error"); |
| 10413 | Fput (Qcoding_system_error, Qerror_conditions, | 10410 | Fput (Qcoding_system_error, Qerror_conditions, |
| 10414 | pure_cons (Qcoding_system_error, pure_cons (Qerror, Qnil))); | 10411 | listn (CONSTYPE_PURE, 2, Qcoding_system_error, Qerror)); |
| 10415 | Fput (Qcoding_system_error, Qerror_message, | 10412 | Fput (Qcoding_system_error, Qerror_message, |
| 10416 | build_pure_c_string ("Invalid coding system")); | 10413 | build_pure_c_string ("Invalid coding system")); |
| 10417 | 10414 | ||