mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-14 23:40:39 -08: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
2 changed files with 6 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue