]> git.eshelyaron.com Git - emacs.git/commitdiff
(forward_to_next_line_start): Fix a condition that
authorRichard M. Stallman <rms@gnu.org>
Mon, 5 Aug 2002 16:39:05 +0000 (16:39 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 5 Aug 2002 16:39:05 +0000 (16:39 +0000)
lead to a newline being skipped.

src/ChangeLog
src/xdisp.c

index d8c6a341537550ba9d433ef5db536c8d635b0aec..5b1e02b8c95fbff117ac4e8a59cddb17c73741f2 100644 (file)
@@ -1,3 +1,8 @@
+2002-08-03  Gerd Moellmann  <gerd.moellmann@t-online.de>
+
+       * xdisp.c (forward_to_next_line_start): Fix a condition that
+       lead to a newline being skipped.
+
 2002-08-02  Henrik Enberg  <henrik@enberg.org>
 
        * lread.c (init_lread): Move the installed-lisp dirs later in the path.
index b323a6341424dd7e3ced2b82c97500830fc8092e..d0809596bdebc6ce232ce839e763ae450286dd5d 100644 (file)
@@ -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);