]> git.eshelyaron.com Git - emacs.git/commitdiff
(init_from_display_pos): Test invisible property
authorGerd Moellmann <gerd@gnu.org>
Sun, 25 Mar 2001 15:56:17 +0000 (15:56 +0000)
committerGerd Moellmann <gerd@gnu.org>
Sun, 25 Mar 2001 15:56:17 +0000 (15:56 +0000)
with TEXT_PROP_MEANS_INVISIBLE instead of NILP.

src/ChangeLog
src/xdisp.c

index ff7a6c65abb940346f7f311ca42533d948253005..1cc3d4d635a58a70e7eec119a624cde28bc6a501 100644 (file)
@@ -1,5 +1,8 @@
 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
        last_arrow_position and last_arrow_string are set.
 
index b40d944b30fa76881b689020090234a7584ca087..48fc7d7bc1448b6feed3bd783b07fd9128115062 100644 (file)
@@ -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);