From: Gerd Moellmann Date: Sun, 25 Mar 2001 15:56:17 +0000 (+0000) Subject: (init_from_display_pos): Test invisible property X-Git-Tag: emacs-pretest-21.0.101~177 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=20fbd92520fd6a9fd8f21f316425727e819f1ea5;p=emacs.git (init_from_display_pos): Test invisible property with TEXT_PROP_MEANS_INVISIBLE instead of NILP. --- diff --git a/src/ChangeLog b/src/ChangeLog index ff7a6c65abb..1cc3d4d635a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2001-03-25 Gerd Moellmann + * xdisp.c (init_from_display_pos): Test invisible property + with TEXT_PROP_MEANS_INVISIBLE instead of NILP. + * xdisp.c (redisplay_internal) : Make sure last_arrow_position and last_arrow_string are set. diff --git a/src/xdisp.c b/src/xdisp.c index b40d944b30f..48fc7d7bc14 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -1764,7 +1764,7 @@ init_from_display_pos (it, w, pos) && (XSETWINDOW (window, w), prop = Fget_char_property (make_number (charpos), Qinvisible, window), - NILP (prop))) + !TEXT_PROP_MEANS_INVISIBLE (prop))) { prop = Fget_char_property (make_number (charpos - 1), Qinvisible, window);