Mercurial > emacs
changeset 57875:8e7f2c329808
(back_to_previous_visible_line_start):
Subtract 1 from pos when checking previous newline for invisibility.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 02 Nov 2004 09:08:42 +0000 |
parents | b3e916ae83ea |
children | eb20070961bb |
files | src/xdisp.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xdisp.c Tue Nov 02 09:06:06 2004 +0000 +++ b/src/xdisp.c Tue Nov 02 09:08:42 2004 +0000 @@ -4555,7 +4555,8 @@ { Lisp_Object prop; - prop = Fget_char_property (make_number (IT_CHARPOS (*it)), + /* Check the newline before point for invisibility. */ + prop = Fget_char_property (make_number (IT_CHARPOS (*it) - 1), Qinvisible, it->window); if (TEXT_PROP_MEANS_INVISIBLE (prop)) visible_p = 0;