diff options
-rw-r--r-- | src/ChangeLog | 5 | ||||
-rw-r--r-- | src/xdisp.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 7b9e2f62b14..67bb245e71f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2009-06-10 Chong Yidong <cyd@stupidchicken.com> + + * xdisp.c (get_next_display_element): When handling wrap-prefix + and line-prefix, treat \n as a control character (bug#3502). + 2009-06-10 Kenichi Handa <handa@m17n.org> * font.c (font_parse_family_registry): Fix for one-char foundry. diff --git a/src/xdisp.c b/src/xdisp.c index 01b16dba539..224dd4853b8 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -5733,7 +5733,8 @@ get_next_display_element (it) ? (it->area != TEXT_AREA /* In mode line, treat \n, \t like other crl chars. */ || (it->c != '\t' - && it->glyph_row && it->glyph_row->mode_line_p) + && it->glyph_row + && (it->glyph_row->mode_line_p || it->avoid_cursor_p)) || (it->c != '\n' && it->c != '\t')) : (it->multibyte_p ? (!CHAR_PRINTABLE_P (it->c) |