mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-27 16:51:06 -07:00
(forward_to_next_line_start): Return 0 when reaching the
end of the buffer.
This commit is contained in:
parent
f8da45ad01
commit
d43be70c87
2 changed files with 6 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2002-08-09 Gerd Moellmann <gerd.moellmann@t-online.de>
|
||||
|
||||
* xdisp.c (forward_to_next_line_start): Return 0 when reaching the
|
||||
end of the buffer.
|
||||
|
||||
2002-08-08 Ken Raeburn <raeburn@mit.edu>
|
||||
|
||||
* coding.c (Ffind_operation_coding_system): Fix Lisp_Object/int
|
||||
|
|
|
|||
|
|
@ -3869,7 +3869,7 @@ forward_to_next_line_start (it, skipped_p)
|
|||
n += STRINGP (it->string) ? 0 : 1)
|
||||
{
|
||||
if (!get_next_display_element (it))
|
||||
break;
|
||||
return 0;
|
||||
newline_found_p = it->what == IT_CHARACTER && it->c == '\n';
|
||||
set_iterator_to_next (it, 0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue