aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/coding.c')
-rw-r--r--src/coding.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/coding.c b/src/coding.c
index c601a18b26e..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}
@@ -9302,10 +9302,10 @@ DEFUN ("set-terminal-coding-system-internal", Fset_terminal_coding_system_intern
9302 terminal_coding->common_flags &= ~CODING_ANNOTATE_COMPOSITION_MASK; 9302 terminal_coding->common_flags &= ~CODING_ANNOTATE_COMPOSITION_MASK;
9303 terminal_coding->src_multibyte = 1; 9303 terminal_coding->src_multibyte = 1;
9304 terminal_coding->dst_multibyte = 0; 9304 terminal_coding->dst_multibyte = 0;
9305 if (terminal_coding->common_flags & CODING_REQUIRE_ENCODING_MASK) 9305 tset_charset_list
9306 TSET (term, charset_list, coding_charset_list (terminal_coding)); 9306 (term, (terminal_coding->common_flags & CODING_REQUIRE_ENCODING_MASK
9307 else 9307 ? coding_charset_list (terminal_coding)
9308 TSET (term, charset_list, Fcons (make_number (charset_ascii), Qnil)); 9308 : Fcons (make_number (charset_ascii), Qnil)));
9309 return Qnil; 9309 return Qnil;
9310} 9310}
9311 9311