diff src/xdisp.c @ 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 30f05fa8ebb8
children 4f90423b2d95
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);