diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index dfb2e8198a5..2ed455e7f6b 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -4555,7 +4555,8 @@ back_to_previous_visible_line_start (it) | |||
| 4555 | { | 4555 | { |
| 4556 | Lisp_Object prop; | 4556 | Lisp_Object prop; |
| 4557 | 4557 | ||
| 4558 | prop = Fget_char_property (make_number (IT_CHARPOS (*it)), | 4558 | /* Check the newline before point for invisibility. */ |
| 4559 | prop = Fget_char_property (make_number (IT_CHARPOS (*it) - 1), | ||
| 4559 | Qinvisible, it->window); | 4560 | Qinvisible, it->window); |
| 4560 | if (TEXT_PROP_MEANS_INVISIBLE (prop)) | 4561 | if (TEXT_PROP_MEANS_INVISIBLE (prop)) |
| 4561 | visible_p = 0; | 4562 | visible_p = 0; |