]> git.eshelyaron.com Git - emacs.git/commitdiff
(skip_invisible): Don't skip "ellipsisized" text.
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 12 Oct 2001 22:31:23 +0000 (22:31 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 12 Oct 2001 22:31:23 +0000 (22:31 +0000)
src/indent.c

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