diff src/intervals.c @ 6753:873e8baf5727

(set_point): Skip past intangible regions.
author Karl Heuer <kwzh@gnu.org>
date Fri, 08 Apr 1994 07:09:18 +0000
parents e42af7949b19
children 9c99683eb6f0
line wrap: on
line diff
--- a/src/intervals.c	Fri Apr 08 06:59:55 1994 +0000
+++ b/src/intervals.c	Fri Apr 08 07:09:18 1994 +0000
@@ -1650,12 +1650,10 @@
       return;
     }
 
-  /* If the new position is before an invisible character
-     that has an `invisible' property of value `hidden',
+  /* If the new position is before an intangible character,
      move forward over all such.  */
   while (! NULL_INTERVAL_P (to)
-	 && EQ (textget (to->plist, Qinvisible), Qhidden)
-	 && ! DISPLAY_INVISIBLE_GLYPH (to))
+	 && ! NILP (textget (to->plist, Qintangible)))
     {
       toprev = to;
       to = next_interval (to);