From 4a309820c8379b157595b6d3a5c322dcad45776e Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 5 Aug 2002 16:39:05 +0000 Subject: [PATCH] (forward_to_next_line_start): Fix a condition that lead to a newline being skipped. --- src/ChangeLog | 5 +++++ src/xdisp.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index d8c6a341537..5b1e02b8c95 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2002-08-03 Gerd Moellmann + + * xdisp.c (forward_to_next_line_start): Fix a condition that + lead to a newline being skipped. + 2002-08-02 Henrik Enberg * lread.c (init_lread): Move the installed-lisp dirs later in the path. diff --git a/src/xdisp.c b/src/xdisp.c index b323a634142..d0809596bde 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -3833,7 +3833,7 @@ forward_to_next_line_start (it, skipped_p) /* If we didn't find a newline near enough, see if we can use a short-cut. */ - if (n == MAX_NEWLINE_DISTANCE) + if (!newline_found_p) { int start = IT_CHARPOS (*it); int limit = find_next_newline_no_quit (start, 1); -- 2.39.5