]> code.delx.au - gnu-emacs/commitdiff
src/xdisp.c (init_iterator): Restore a comment lost in transition.
authorEli Zaretskii <eliz@gnu.org>
Thu, 22 Jan 2015 17:57:18 +0000 (19:57 +0200)
committerEli Zaretskii <eliz@gnu.org>
Thu, 22 Jan 2015 17:57:18 +0000 (19:57 +0200)
src/ChangeLog
src/xdisp.c

index a98c77f390295a3a0690f99730b5f3afc1ecac07..a8b9c3bf1c648b1425cfd2ab08024c00368cfb9b 100644 (file)
@@ -1,3 +1,7 @@
+2015-01-22  Eli Zaretskii  <eliz@gnu.org>
+
+       * xdisp.c (init_iterator): Restore a comment lost in transition.
+
 2015-01-22  Paul Eggert  <eggert@cs.ucla.edu>
 
        Use bool for boolean in xfont.c, xftfont.c, xgselect.c
index bdfea1e1877268292e1d9ecce217c53c6ef7eac2..cd96e5916d54bbb5820f764ce13a3e8b2c8de8e9 100644 (file)
@@ -2746,6 +2746,8 @@ init_iterator (struct it *it, struct window *w,
        row = MATRIX_HEADER_LINE_ROW (w->desired_matrix);
     }
 
+  /* Clear IT, and set it->object and other IT's Lisp objects to Qnil.
+     Other parts of redisplay rely on that.  */
   memclear (it, sizeof *it);
   it->current.overlay_string_index = -1;
   it->current.dpvec_index = -1;