]> git.eshelyaron.com Git - emacs.git/commitdiff
(back_to_previous_visible_line_start): Reset iterator
authorKim F. Storm <storm@cua.dk>
Tue, 1 Feb 2005 08:56:01 +0000 (08:56 +0000)
committerKim F. Storm <storm@cua.dk>
Tue, 1 Feb 2005 08:56:01 +0000 (08:56 +0000)
stack before calling handle_display_prop.

src/xdisp.c

index aec14bcaddeecce374658ba2771e56c316620267..c09ae2b2ef106743c63db7255f8a1a32a4e5e88e 100644 (file)
@@ -4703,6 +4703,7 @@ back_to_previous_visible_line_start (it)
        int beg, end;
        Lisp_Object val, overlay;
 
+       it2.sp = 0;
        if (handle_display_prop (&it2) == HANDLED_RETURN
            && !NILP (val = get_char_property_and_overlay
                      (make_number (pos), Qdisplay, Qnil, &overlay))