when searching for a newline.
+2001-01-18 Gerd Moellmann <gerd@gnu.org>
+
+ * xterm.c (x_initialize): Set char_ins_del_ok to 1.
+
+ * xdisp.c (forward_to_next_line_start): Stop at end of buffer
+ when searching for a newline.
+
2001-01-18 Kenichi Handa <handa@etl.go.jp>
* xdisp.c (display_string): Fix previous change.
!newline_found_p && n < MAX_NEWLINE_DISTANCE;
n += STRINGP (it->string) ? 0 : 1)
{
- get_next_display_element (it);
+ if (!get_next_display_element (it))
+ break;
newline_found_p = it->what == IT_CHARACTER && it->c == '\n';
set_iterator_to_next (it, 0);
}