Mercurial > emacs
changeset 58206:b8e8e0772ced
(reseat_at_previous_visible_line_start): No longer static.
(get_next_display_element): Fix latest change: applies only to \n.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 14 Nov 2004 04:31:03 +0000 |
parents | fd88ccc2e4cf |
children | 4410b7cd84c4 |
files | src/xdisp.c |
diffstat | 1 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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