Commit 3a6607a2 authored by Stefan Monnier's avatar Stefan Monnier

(adjust_point_for_property): copy/paste error.

parent 7e16ef60
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment