changeset 36980:72bba524b132

(init_from_display_pos): Test invisible property with TEXT_PROP_MEANS_INVISIBLE instead of NILP.
author Gerd Moellmann <gerd@gnu.org>
date Sun, 25 Mar 2001 15:55:48 +0000
parents d6339c5b09f1
children 88f7f11b6a14
files src/xdisp.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Sun Mar 25 14:06:35 2001 +0000
+++ b/src/xdisp.c	Sun Mar 25 15:55:48 2001 +0000
@@ -1764,7 +1764,7 @@
       && (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);