changeset 6069:07045ca8ff19

(direct_output_forward_char): Use Fget_char_property to test for invisibility.
author Karl Heuer <kwzh@gnu.org>
date Thu, 24 Feb 1994 20:08:54 +0000
parents f67817990735
children 8784f8ebbb6b
files src/dispnew.c
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/dispnew.c	Thu Feb 24 20:04:27 1994 +0000
+++ b/src/dispnew.c	Thu Feb 24 20:08:54 1994 +0000
@@ -953,17 +953,17 @@
 
   XFASTINT (position) = point;
   if (XFASTINT (position) < ZV
-      && ! NILP (Fget_text_property (position,
+      && ! NILP (Fget_char_property (position,
 				     Qinvisible,
-				     Fcurrent_buffer ())))
-    return;
+				     selected_window)))
+    return 0;
 
   XFASTINT (position) = point - 1;
   if (XFASTINT (position) >= BEGV
-      && ! NILP (Fget_text_property (position,
+      && ! NILP (Fget_char_property (position,
 				     Qinvisible,
-				     Fcurrent_buffer ())))
-    return;
+				     selected_window)))
+    return 0;
 #endif
 
   FRAME_CURSOR_X (frame) += n;