diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/indent.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/indent.c b/src/indent.c index 04768e37f2a..f2d5eb03675 100644 --- a/src/indent.c +++ b/src/indent.c | |||
| @@ -270,7 +270,9 @@ skip_invisible (pos, next_boundary_p, to, window) | |||
| 270 | prop = Fget_char_property (position, Qinvisible, window); | 270 | prop = Fget_char_property (position, Qinvisible, window); |
| 271 | else | 271 | else |
| 272 | prop = Fget_char_property (position, Qinvisible, buffer); | 272 | prop = Fget_char_property (position, Qinvisible, buffer); |
| 273 | if (TEXT_PROP_MEANS_INVISIBLE (prop)) | 273 | if (NILP (window) |
| 274 | ? TEXT_PROP_MEANS_INVISIBLE_NOELLIPSIS (prop) | ||
| 275 | : TEXT_PROP_MEANS_INVISIBLE (prop)) | ||
| 274 | return *next_boundary_p; | 276 | return *next_boundary_p; |
| 275 | return pos; | 277 | return pos; |
| 276 | } | 278 | } |