Commit db0bb807 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(forward_to_next_line_start): Fix a condition that

lead to a newline being skipped.
parent b1d06e75
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 Andrew Choi <akochoi@shaw.ca> 2002-08-02 Andrew Choi <akochoi@shaw.ca>
* mac.c (syms_of_mac): Defsubr Sx_selection_exists_p. * mac.c (syms_of_mac): Defsubr Sx_selection_exists_p.
......
...@@ -3876,7 +3876,7 @@ forward_to_next_line_start (it, skipped_p) ...@@ -3876,7 +3876,7 @@ forward_to_next_line_start (it, skipped_p)
/* If we didn't find a newline near enough, see if we can use a /* If we didn't find a newline near enough, see if we can use a
short-cut. */ short-cut. */
if (n == MAX_NEWLINE_DISTANCE) if (!newline_found_p)
{ {
int start = IT_CHARPOS (*it); int start = IT_CHARPOS (*it);
int limit = find_next_newline_no_quit (start, 1); int limit = find_next_newline_no_quit (start, 1);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment