]> code.delx.au - gnu-emacs/commitdiff
xdisp.c (reseat_1): Make the information stored in it->cmp_it invalidate.
authorKenichi Handa <handa@gnu.org>
Wed, 17 Oct 2012 13:30:56 +0000 (22:30 +0900)
committerKenichi Handa <handa@gnu.org>
Wed, 17 Oct 2012 13:30:56 +0000 (22:30 +0900)
src/ChangeLog
src/xdisp.c

index 346fe0e86b30fd9b3f050ce1e6a88d79a934bd70..21d13a04e779865b0cf4992a41c79094f64c92b7 100644 (file)
@@ -1,3 +1,8 @@
+2012-10-17  Kenichi Handa  <handa@gnu.org>
+
+       * xdisp.c (reseat_1): Make the information stored in it->cmp_it
+       invalidate.
+
 2012-10-13  Jan Djärv  <jan.h.d@swipnet.se>
 
        * gtkutil.c (xg_set_widget_bg): Divide by 65535 (Bug#12612).
index 1e61a74068b5636e1c8e5e17be65bb267dd82331..6964719f95863da53b8e1ebcaecaf2b008d30fc6 100644 (file)
@@ -6302,6 +6302,8 @@ reseat_1 (struct it *it, struct text_pos pos, int set_stop_p)
       it->stop_charpos = CHARPOS (pos);
       it->base_level_stop = CHARPOS (pos);
     }
+  /* This make the information stored in it->cmp_it invalidate.  */
+  it->cmp_it.id = -1;
 }