changeset 6067:25c4f2fe81d1

(compute_motion, vmotion): Use Fget_char_property to test for invisibility.
author Karl Heuer <kwzh@gnu.org>
date Thu, 24 Feb 1994 20:01:13 +0000
parents 4ff0c5c05867
children f67817990735
files src/indent.c
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/indent.c	Thu Feb 24 20:00:34 1994 +0000
+++ b/src/indent.c	Thu Feb 24 20:01:13 1994 +0000
@@ -474,7 +474,7 @@
       while (pos == next_invisible && pos < to)
 	{
 	  XFASTINT (position) = pos;
-	  prop = Fget_text_property (position,
+	  prop = Fget_char_property (position,
 				     Qinvisible,
 				     Fcurrent_buffer ());
 	  {
@@ -663,9 +663,9 @@
 		      && indented_beyond_p (prevline, selective))
 #ifdef USE_TEXT_PROPERTIES
 		     /* watch out for newlines with `invisible' property */
-		     || ! NILP (Fget_text_property (XFASTINT (prevline),
+		     || ! NILP (Fget_char_property (XFASTINT (prevline),
 						    Qinvisible,
-						    Fcurrent_buffer ()))
+						    window))
 #endif
 		 ))
 	    prevline = find_next_newline (prevline - 1, -1);
@@ -700,9 +700,9 @@
 		   || ! indented_beyond_p (prevline, selective))
 #ifdef USE_TEXT_PROPERTIES
 		  /* watch out for newlines with `invisible' property */
-		  && NILP (Fget_text_property (XFASTINT (prevline),
+		  && NILP (Fget_char_property (XFASTINT (prevline),
 					       Qinvisible,
-					       Fcurrent_buffer ()))
+					       window))
 #endif
 		  ))
 	    break;