1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-06 20:49:33 +00:00

* xdisp.c (get_next_display_element): When handling wrap-prefix

and line-prefix, treat \n as a control character (bug#3502).
This commit is contained in:
Chong Yidong 2009-06-10 14:15:41 +00:00
parent e7777236c6
commit 852bbd410b
2 changed files with 7 additions and 1 deletions

View File

@ -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.

View File

@ -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)