From 20fbd92520fd6a9fd8f21f316425727e819f1ea5 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Sun, 25 Mar 2001 15:56:17 +0000 Subject: [PATCH] (init_from_display_pos): Test invisible property with TEXT_PROP_MEANS_INVISIBLE instead of NILP. --- src/ChangeLog | 3 +++ src/xdisp.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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); -- 2.39.2