From: Gerd Moellmann Date: Thu, 13 Sep 2001 13:05:37 +0000 (+0000) Subject: (reseat_1): Set IT's multibyte_p flag according to the X-Git-Tag: emacs-pretest-21.0.106~122 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=06fd37928647545543f38e46c115406add2339e2;p=emacs.git (reseat_1): Set IT's multibyte_p flag according to the current buffer's multibyteness when discarding the iterator's stack. --- diff --git a/src/ChangeLog b/src/ChangeLog index c385f141596..d1741c8a7ce 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,9 @@ 2001-09-13 Gerd Moellmann + * 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. diff --git a/src/xdisp.c b/src/xdisp.c index c0659ed26ff..a3ac927f785 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -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;