# HG changeset patch # User Richard M. Stallman # Date 1100406663 0 # Node ID b8e8e0772ced24ae68c5a0d5311ecf4714a0328e # Parent fd88ccc2e4cfff85fb1f668de69e392957b21f97 (reseat_at_previous_visible_line_start): No longer static. (get_next_display_element): Fix latest change: applies only to \n. diff -r fd88ccc2e4cf -r b8e8e0772ced src/xdisp.c --- a/src/xdisp.c Sun Nov 14 04:13:54 2004 +0000 +++ b/src/xdisp.c Sun Nov 14 04:31:03 2004 +0000 @@ -892,7 +892,7 @@ static void reseat P_ ((struct it *, struct text_pos, int)); static void reseat_1 P_ ((struct it *, struct text_pos, int)); static void back_to_previous_visible_line_start P_ ((struct it *)); -static void reseat_at_previous_visible_line_start P_ ((struct it *)); +void reseat_at_previous_visible_line_start P_ ((struct it *)); static void reseat_at_next_visible_line_start P_ ((struct it *, int)); static int next_element_from_display_vector P_ ((struct it *)); static int next_element_from_string P_ ((struct it *)); @@ -4592,7 +4592,7 @@ selective display. At the end, update IT's overlay information, face information etc. */ -static void +void reseat_at_previous_visible_line_start (it) struct it *it; { @@ -4897,8 +4897,9 @@ translated to octal form. */ else if ((it->c < ' ' && (it->area != TEXT_AREA - /* In mode line, treat \n, \t like other crl chars. */ - || (it->glyph_row && it->glyph_row->mode_line_p) + /* In mode line, treat \n like other crl chars. */ + || (it->c == '\n' + && it->glyph_row && it->glyph_row->mode_line_p) || (it->c != '\n' && it->c != '\t'))) || (it->multibyte_p ? ((it->c >= 127