Commit 67964c67 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(skip_invisible): Use new retval of TEXT_PROP_MEANS_INVISIBLE.

parent 0c88c937
......@@ -270,9 +270,7 @@ skip_invisible (pos, next_boundary_p, to, window)
prop = Fget_char_property (position, Qinvisible, window);
else
prop = Fget_char_property (position, Qinvisible, buffer);
if (NILP (window)
? TEXT_PROP_MEANS_INVISIBLE_NOELLIPSIS (prop)
: TEXT_PROP_MEANS_INVISIBLE (prop))
if (TEXT_PROP_MEANS_INVISIBLE (prop) > NILP (window))
return *next_boundary_p;
return pos;
}
......
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