]> code.delx.au - gnu-emacs/commitdiff
(skip_invisible): Use new retval of TEXT_PROP_MEANS_INVISIBLE.
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 14 Oct 2001 20:19:10 +0000 (20:19 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sun, 14 Oct 2001 20:19:10 +0000 (20:19 +0000)
src/indent.c

index c843ba2753600e3101c017c94a57db9babf13042..d8ede2ad0e8f0b96363518468cd6969c897d237c 100644 (file)
@@ -270,9 +270,7 @@ skip_invisible (pos, next_boundary_p, to, window)
     prop = Fget_char_property (position, Qinvisible, window);
   else
     prop = Fget_char_property (position, Qinvisible, buffer);
-  if (NILP (window)
-      ? TEXT_PROP_MEANS_INVISIBLE_NOELLIPSIS (prop)
-      : TEXT_PROP_MEANS_INVISIBLE (prop))
+  if (TEXT_PROP_MEANS_INVISIBLE (prop) > NILP (window))
     return *next_boundary_p;
   return pos;
 }