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 5bed11b8241..08633d8bcff 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -7103,7 +7103,7 @@ decode_coding (struct coding_system *coding) | |||
| 7103 | if (GPT != PT) | 7103 | if (GPT != PT) |
| 7104 | move_gap_both (PT, PT_BYTE); | 7104 | move_gap_both (PT, PT_BYTE); |
| 7105 | undo_list = BVAR (current_buffer, undo_list); | 7105 | undo_list = BVAR (current_buffer, undo_list); |
| 7106 | BVAR (current_buffer, undo_list) = Qt; | 7106 | BSET (current_buffer, undo_list, Qt); |
| 7107 | } | 7107 | } |
| 7108 | 7108 | ||
| 7109 | coding->consumed = coding->consumed_char = 0; | 7109 | coding->consumed = coding->consumed_char = 0; |
| @@ -7200,7 +7200,7 @@ decode_coding (struct coding_system *coding) | |||
| 7200 | decode_eol (coding); | 7200 | decode_eol (coding); |
| 7201 | if (BUFFERP (coding->dst_object)) | 7201 | if (BUFFERP (coding->dst_object)) |
| 7202 | { | 7202 | { |
| 7203 | BVAR (current_buffer, undo_list) = undo_list; | 7203 | BSET (current_buffer, undo_list, undo_list); |
| 7204 | record_insert (coding->dst_pos, coding->produced_char); | 7204 | record_insert (coding->dst_pos, coding->produced_char); |
| 7205 | } | 7205 | } |
| 7206 | return coding->result; | 7206 | return coding->result; |
| @@ -7568,8 +7568,8 @@ make_conversion_work_buffer (int multibyte) | |||
| 7568 | doesn't compile new regexps. */ | 7568 | doesn't compile new regexps. */ |
| 7569 | Fset (Fmake_local_variable (Qinhibit_modification_hooks), Qt); | 7569 | Fset (Fmake_local_variable (Qinhibit_modification_hooks), Qt); |
| 7570 | Ferase_buffer (); | 7570 | Ferase_buffer (); |
| 7571 | BVAR (current_buffer, undo_list) = Qt; | 7571 | BSET (current_buffer, undo_list, Qt); |
| 7572 | BVAR (current_buffer, enable_multibyte_characters) = multibyte ? Qt : Qnil; | 7572 | BSET (current_buffer, enable_multibyte_characters, multibyte ? Qt : Qnil); |
| 7573 | set_buffer_internal (current); | 7573 | set_buffer_internal (current); |
| 7574 | return workbuf; | 7574 | return workbuf; |
| 7575 | } | 7575 | } |