Commit 06fd3792 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(reseat_1): Set IT's multibyte_p flag according to the

current buffer's multibyteness when discarding the iterator's
stack.
parent 4c8c7926
2001-09-13 Gerd Moellmann <gerd@gnu.org>
* xdisp.c (reseat_1): Set IT's multibyte_p flag according to the
current buffer's multibyteness when discarding the iterator's
stack.
* xfns.c (Fx_window_property): Handle case that property gets
deleted between the two calls to XGetWindowProperty.
......
......@@ -4039,6 +4039,7 @@ reseat_1 (it, pos, set_stop_p)
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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment