Mercurial > emacs
changeset 47151:eab3292ff2df
(get_next_display_element): Fix previous change.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Fri, 30 Aug 2002 13:44:55 +0000 |
parents | ba45fd15532b |
children | 58ccd45ac06b |
files | src/xdisp.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xdisp.c Fri Aug 30 13:22:12 2002 +0000 +++ b/src/xdisp.c Fri Aug 30 13:44:55 2002 +0000 @@ -4281,14 +4281,14 @@ If it->multibyte_p is zero, eight-bit characters that don't have corresponding multibyte char code are also translated to octal form. */ - else if (((it->c < ' ' || it->c == 127) + else if ((it->c < ' ' && (it->area != TEXT_AREA || (it->c != '\n' && it->c != '\t'))) || (it->multibyte_p ? ((it->c >= 127 && it->len == 1) || !CHAR_PRINTABLE_P (it->c)) - : (it->c >= 128 + : (it->c >= 127 && it->c == unibyte_char_to_multibyte (it->c)))) { /* IT->c is a control character which must be displayed