From: Eli Zaretskii Date: Thu, 22 Jan 2015 17:57:18 +0000 (+0200) Subject: src/xdisp.c (init_iterator): Restore a comment lost in transition. X-Git-Tag: emacs-25.0.90~2583^2~1 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3e359626e64c50efe31e3f5965d199cb69bb4a8d;p=emacs.git src/xdisp.c (init_iterator): Restore a comment lost in transition. --- diff --git a/src/ChangeLog b/src/ChangeLog index a98c77f3902..a8b9c3bf1c6 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2015-01-22 Eli Zaretskii + + * xdisp.c (init_iterator): Restore a comment lost in transition. + 2015-01-22 Paul Eggert Use bool for boolean in xfont.c, xftfont.c, xgselect.c diff --git a/src/xdisp.c b/src/xdisp.c index bdfea1e1877..cd96e5916d5 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -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;