diff options
| author | Gerd Moellmann | 2002-08-09 17:29:34 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2002-08-09 17:29:34 +0000 |
| commit | d43be70c875947ee04e5f2dde8cc9192ee4219a9 (patch) | |
| tree | e077f662709933671f02bd77ea39f98c7444121f /src | |
| parent | f8da45ad01dd996e2beacdcd0f3820e19870399f (diff) | |
| download | emacs-d43be70c875947ee04e5f2dde8cc9192ee4219a9.tar.gz emacs-d43be70c875947ee04e5f2dde8cc9192ee4219a9.zip | |
(forward_to_next_line_start): Return 0 when reaching the
end of the buffer.
Diffstat (limited to 'src')
| -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 c48fcfa3b10..400d567fb3e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2002-08-09 Gerd Moellmann <gerd.moellmann@t-online.de> | ||
| 2 | |||
| 3 | * xdisp.c (forward_to_next_line_start): Return 0 when reaching the | ||
| 4 | end of the buffer. | ||
| 5 | |||
| 1 | 2002-08-08 Ken Raeburn <raeburn@mit.edu> | 6 | 2002-08-08 Ken Raeburn <raeburn@mit.edu> |
| 2 | 7 | ||
| 3 | * coding.c (Ffind_operation_coding_system): Fix Lisp_Object/int | 8 | * coding.c (Ffind_operation_coding_system): Fix Lisp_Object/int |
diff --git a/src/xdisp.c b/src/xdisp.c index 783a1b9423f..ba7bfad414c 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -3869,7 +3869,7 @@ forward_to_next_line_start (it, skipped_p) | |||
| 3869 | n += STRINGP (it->string) ? 0 : 1) | 3869 | n += STRINGP (it->string) ? 0 : 1) |
| 3870 | { | 3870 | { |
| 3871 | if (!get_next_display_element (it)) | 3871 | if (!get_next_display_element (it)) |
| 3872 | break; | 3872 | return 0; |
| 3873 | newline_found_p = it->what == IT_CHARACTER && it->c == '\n'; | 3873 | newline_found_p = it->what == IT_CHARACTER && it->c == '\n'; |
| 3874 | set_iterator_to_next (it, 0); | 3874 | set_iterator_to_next (it, 0); |
| 3875 | } | 3875 | } |