aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier <[email protected]>2001-10-12 22:31:23 +0000
committerStefan Monnier <[email protected]>2001-10-12 22:31:23 +0000
commitfe14a5445b6c39b40a06bb425958c97d4d7522df (patch)
treeedd2ddc8d9f0563b52946c8b39dee90155437a8d
parent6f3f6a8d4bf65676d7e53a64a6d6fc7a992a6770 (diff)
(skip_invisible): Don't skip "ellipsisized" text.
-rw-r--r--src/indent.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/indent.c b/src/indent.c
index 04768e37f2..f2d5eb0367 100644
--- a/src/indent.c
+++ b/src/indent.c
@@ -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;
}