]> git.eshelyaron.com Git - emacs.git/commitdiff
(set_point): Skip past intangible regions.
authorKarl Heuer <kwzh@gnu.org>
Fri, 8 Apr 1994 07:09:18 +0000 (07:09 +0000)
committerKarl Heuer <kwzh@gnu.org>
Fri, 8 Apr 1994 07:09:18 +0000 (07:09 +0000)
src/intervals.c

index 597fcf07b303d2fe7ed129251b778103e2c56718..3b9ec9b4ddebb7604fd8cdd18e558bbc2bc62b98 100644 (file)
@@ -1650,12 +1650,10 @@ set_point (position, buffer)
       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);