changeset 39279:b0b2129866f6

(reseat_1): Set IT's multibyte_p flag according to the current buffer's multibyteness when discarding the iterator's stack.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 13 Sep 2001 13:05:17 +0000
parents 4ce8031d94f1
children bc862ea297a8
files src/xdisp.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Thu Sep 13 12:56:36 2001 +0000
+++ b/src/xdisp.c	Thu Sep 13 13:05:17 2001 +0000
@@ -4039,6 +4039,7 @@
   IT_STRING_BYTEPOS (*it) = -1;
   it->string = Qnil;
   it->method = next_element_from_buffer;
+  it->multibyte_p = !NILP (current_buffer->enable_multibyte_characters);
   it->sp = 0;
   it->face_before_selective_p = 0;