changeset 6753:873e8baf5727

(set_point): Skip past intangible regions.
author Karl Heuer <kwzh@gnu.org>
date Fri, 08 Apr 1994 07:09:18 +0000
parents f9236145bad7
children 09278b56193e
files src/intervals.c
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
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);