From 0b2e177e3e6946fa3968ee97f66af3c208c30e7f Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 14 Nov 2004 04:31:03 +0000 Subject: [PATCH] (reseat_at_previous_visible_line_start): No longer static. (get_next_display_element): Fix latest change: applies only to \n. --- src/xdisp.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/xdisp.c b/src/xdisp.c index 1912937c1b7..14a64187f1c 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -892,7 +892,7 @@ static void next_overlay_string P_ ((struct it *)); 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 @@ back_to_previous_visible_line_start (it) 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 @@ get_next_display_element (it) 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 -- 2.39.2