mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-05 11:45:45 +00:00
(forward_to_next_line_start): Fix a condition that
lead to a newline being skipped.
This commit is contained in:
parent
b1d06e759a
commit
db0bb807eb
@ -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 Andrew Choi <akochoi@shaw.ca>
|
||||
|
||||
* mac.c (syms_of_mac): Defsubr Sx_selection_exists_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
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user