(adjust_point_for_property): copy/paste error.
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 3 Nov 2002 09:36:55 +0000 (09:36 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sun, 3 Nov 2002 09:36:55 +0000 (09:36 +0000)
src/keyboard.c

index c0afb84..7e3e437 100644 (file)
@@ -1838,7 +1838,7 @@ adjust_point_for_property (last_pt)
              beg < PT)
          && (tmp = Fnext_single_char_property_change
                        (make_number (PT), Qinvisible, Qnil, Qnil),
-             end = NILP (tmp) ? BEGV : XFASTINT (tmp),
+             end = NILP (tmp) ? ZV : XFASTINT (tmp),
              (last_pt <= beg || last_pt >= end)))
        {
          SET_PT (PT < last_pt ? beg : end);