From: Richard M. Stallman Date: Mon, 5 Aug 2002 16:39:05 +0000 (+0000) Subject: (forward_to_next_line_start): Fix a condition that X-Git-Tag: emacs-pretest-21.2.91~129 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4a309820c8379b157595b6d3a5c322dcad45776e;p=emacs.git (forward_to_next_line_start): Fix a condition that lead to a newline being skipped. --- 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);