diff options
Diffstat (limited to 'src/coding.c')
| -rw-r--r-- | src/coding.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/coding.c b/src/coding.c index 290b9a5dbb6..971686dc180 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -7112,7 +7112,7 @@ decode_coding (struct coding_system *coding) | |||
| 7112 | record_first_change (); | 7112 | record_first_change (); |
| 7113 | 7113 | ||
| 7114 | undo_list = BVAR (current_buffer, undo_list); | 7114 | undo_list = BVAR (current_buffer, undo_list); |
| 7115 | BSET (current_buffer, undo_list, Qt); | 7115 | bset_undo_list (current_buffer, Qt); |
| 7116 | } | 7116 | } |
| 7117 | 7117 | ||
| 7118 | coding->consumed = coding->consumed_char = 0; | 7118 | coding->consumed = coding->consumed_char = 0; |
| @@ -7209,7 +7209,7 @@ decode_coding (struct coding_system *coding) | |||
| 7209 | decode_eol (coding); | 7209 | decode_eol (coding); |
| 7210 | if (BUFFERP (coding->dst_object)) | 7210 | if (BUFFERP (coding->dst_object)) |
| 7211 | { | 7211 | { |
| 7212 | BSET (current_buffer, undo_list, undo_list); | 7212 | bset_undo_list (current_buffer, undo_list); |
| 7213 | record_insert (coding->dst_pos, coding->produced_char); | 7213 | record_insert (coding->dst_pos, coding->produced_char); |
| 7214 | } | 7214 | } |
| 7215 | return coding->result; | 7215 | return coding->result; |
| @@ -7577,8 +7577,8 @@ make_conversion_work_buffer (int multibyte) | |||
| 7577 | doesn't compile new regexps. */ | 7577 | doesn't compile new regexps. */ |
| 7578 | Fset (Fmake_local_variable (Qinhibit_modification_hooks), Qt); | 7578 | Fset (Fmake_local_variable (Qinhibit_modification_hooks), Qt); |
| 7579 | Ferase_buffer (); | 7579 | Ferase_buffer (); |
| 7580 | BSET (current_buffer, undo_list, Qt); | 7580 | bset_undo_list (current_buffer, Qt); |
| 7581 | BSET (current_buffer, enable_multibyte_characters, multibyte ? Qt : Qnil); | 7581 | bset_enable_multibyte_characters (current_buffer, multibyte ? Qt : Qnil); |
| 7582 | set_buffer_internal (current); | 7582 | set_buffer_internal (current); |
| 7583 | return workbuf; | 7583 | return workbuf; |
| 7584 | } | 7584 | } |