# HG changeset patch # User Gerd Moellmann # Date 979750435 0 # Node ID 3fc8f4c6ed5642366d6d383285ec1b1c9dc4629c # Parent 2630c195f872b7fd59826250bfe27807e18f37c1 (direct_output_for_insert): If char_ins_del_ok is zero, use this method only at the end of a line. diff -r 2630c195f872 -r 3fc8f4c6ed56 src/dispnew.c --- a/src/dispnew.c Wed Jan 17 16:18:45 2001 +0000 +++ b/src/dispnew.c Wed Jan 17 16:53:55 2001 +0000 @@ -3417,6 +3417,12 @@ || (!window_redisplay_p && !WINDOW_FULL_WIDTH_P (w))) return 0; + /* If we can't insert glyphs, we can use this method only + at the end of a line. */ + if (!char_ins_del_ok) + if (PT != ZV && FETCH_BYTE (PT_BYTE) != '\n') + return 0; + /* Set up a display iterator structure for W. Glyphs will be produced in scratch_glyph_row. Current position is W's cursor position. */