Commit 20fbd925 authored by Gerd Moellmann's avatar Gerd Moellmann

(init_from_display_pos): Test invisible property

with TEXT_PROP_MEANS_INVISIBLE instead of NILP.
parent 839736d5
2001-03-25 Gerd Moellmann <gerd@gnu.org> 2001-03-25 Gerd Moellmann <gerd@gnu.org>
* xdisp.c (init_from_display_pos): Test invisible property
with TEXT_PROP_MEANS_INVISIBLE instead of NILP.
* xdisp.c (redisplay_internal) <update one window>: Make sure * xdisp.c (redisplay_internal) <update one window>: Make sure
last_arrow_position and last_arrow_string are set. last_arrow_position and last_arrow_string are set.
......
...@@ -1764,7 +1764,7 @@ init_from_display_pos (it, w, pos) ...@@ -1764,7 +1764,7 @@ init_from_display_pos (it, w, pos)
&& (XSETWINDOW (window, w), && (XSETWINDOW (window, w),
prop = Fget_char_property (make_number (charpos), prop = Fget_char_property (make_number (charpos),
Qinvisible, window), Qinvisible, window),
NILP (prop))) !TEXT_PROP_MEANS_INVISIBLE (prop)))
{ {
prop = Fget_char_property (make_number (charpos - 1), Qinvisible, prop = Fget_char_property (make_number (charpos - 1), Qinvisible,
window); window);
......
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