diff options
| author | Gerd Moellmann | 2002-08-03 12:44:32 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2002-08-03 12:44:32 +0000 |
| commit | db0bb807eb059cc9e38ce97bb3c346f9c8007dfa (patch) | |
| tree | 0ac917e34e1f839fc9a31a4b2390589e3a826a48 | |
| parent | b1d06e759a648bf657b510ca8d0234f097c51c10 (diff) | |
| download | emacs-db0bb807eb059cc9e38ce97bb3c346f9c8007dfa.tar.gz emacs-db0bb807eb059cc9e38ce97bb3c346f9c8007dfa.zip | |
(forward_to_next_line_start): Fix a condition that
lead to a newline being skipped.
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/xdisp.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 6058e7b5e6d..9169ddc7fe4 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2002-08-03 Gerd Moellmann <gerd.moellmann@t-online.de> | ||
| 2 | |||
| 3 | * xdisp.c (forward_to_next_line_start): Fix a condition that | ||
| 4 | lead to a newline being skipped. | ||
| 5 | |||
| 1 | 2002-08-02 Andrew Choi <akochoi@shaw.ca> | 6 | 2002-08-02 Andrew Choi <akochoi@shaw.ca> |
| 2 | 7 | ||
| 3 | * mac.c (syms_of_mac): Defsubr Sx_selection_exists_p. | 8 | * mac.c (syms_of_mac): Defsubr Sx_selection_exists_p. |
diff --git a/src/xdisp.c b/src/xdisp.c index 687c0eb9440..783a1b9423f 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -3876,7 +3876,7 @@ forward_to_next_line_start (it, skipped_p) | |||
| 3876 | 3876 | ||
| 3877 | /* If we didn't find a newline near enough, see if we can use a | 3877 | /* If we didn't find a newline near enough, see if we can use a |
| 3878 | short-cut. */ | 3878 | short-cut. */ |
| 3879 | if (n == MAX_NEWLINE_DISTANCE) | 3879 | if (!newline_found_p) |
| 3880 | { | 3880 | { |
| 3881 | int start = IT_CHARPOS (*it); | 3881 | int start = IT_CHARPOS (*it); |
| 3882 | int limit = find_next_newline_no_quit (start, 1); | 3882 | int limit = find_next_newline_no_quit (start, 1); |