diff options
| author | Kenichi Handa | 2004-12-25 02:31:08 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2004-12-25 02:31:08 +0000 |
| commit | 0e9dd01c1246ee481efa3e71462d9db952072176 (patch) | |
| tree | 37a217d8ce2d405ecd775838e772ac57c02c8a0d /src | |
| parent | 6a89b7e95a771e5141bb1718e8278dcf892359ea (diff) | |
| download | emacs-0e9dd01c1246ee481efa3e71462d9db952072176.tar.gz emacs-0e9dd01c1246ee481efa3e71462d9db952072176.zip | |
(get_next_display_element): Sync to the change in HEAD
on 2004-12-21.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 62efd4cac6c..8327fbf53b1 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -5007,10 +5007,13 @@ get_next_display_element (it) | |||
| 5007 | || (it->c != '\n' | 5007 | || (it->c != '\n' |
| 5008 | && it->glyph_row && it->glyph_row->mode_line_p) | 5008 | && it->glyph_row && it->glyph_row->mode_line_p) |
| 5009 | || (it->c != '\n' && it->c != '\t')) | 5009 | || (it->c != '\n' && it->c != '\t')) |
| 5010 | : it->multibyte_p ? !CHAR_PRINTABLE_P (it->c) | 5010 | : (it->multibyte_p |
| 5011 | : (it->c >= 127 | 5011 | ? (!CHAR_PRINTABLE_P (it->c) |
| 5012 | && (! unibyte_display_via_language_environment | 5012 | || it->c == 0xA0 /* NO-BREAK SPACE */ |
| 5013 | || (UNIBYTE_CHAR_HAS_MULTIBYTE_P (it->c)))))) | 5013 | || it->c == 0xAD /* SOFT HYPHEN */) |
| 5014 | : (it->c >= 127 | ||
| 5015 | && (! unibyte_display_via_language_environment | ||
| 5016 | || (UNIBYTE_CHAR_HAS_MULTIBYTE_P (it->c))))))) | ||
| 5014 | { | 5017 | { |
| 5015 | /* IT->c is a control character which must be displayed | 5018 | /* IT->c is a control character which must be displayed |
| 5016 | either as '\003' or as `^C' where the '\\' and '^' | 5019 | either as '\003' or as `^C' where the '\\' and '^' |
| @@ -5050,7 +5053,7 @@ get_next_display_element (it) | |||
| 5050 | XSETINT (it->ctl_chars[1], g); | 5053 | XSETINT (it->ctl_chars[1], g); |
| 5051 | ctl_len = 2; | 5054 | ctl_len = 2; |
| 5052 | } | 5055 | } |
| 5053 | else if (it->c == 0x8a0 || it->c == 0x8ad) | 5056 | else if (it->c == 0xA0 || it->c == 0xAD) |
| 5054 | { | 5057 | { |
| 5055 | /* Set IT->ctl_chars[0] to the glyph for `\\'. */ | 5058 | /* Set IT->ctl_chars[0] to the glyph for `\\'. */ |
| 5056 | if (it->dp | 5059 | if (it->dp |
| @@ -5061,7 +5064,7 @@ get_next_display_element (it) | |||
| 5061 | g = FAST_MAKE_GLYPH ('\\', face_id); | 5064 | g = FAST_MAKE_GLYPH ('\\', face_id); |
| 5062 | XSETINT (it->ctl_chars[0], g); | 5065 | XSETINT (it->ctl_chars[0], g); |
| 5063 | 5066 | ||
| 5064 | g = FAST_MAKE_GLYPH (it->c == 0x8ad ? '-' : ' ', face_id); | 5067 | g = FAST_MAKE_GLYPH (it->c == 0xAD ? '-' : ' ', face_id); |
| 5065 | XSETINT (it->ctl_chars[1], g); | 5068 | XSETINT (it->ctl_chars[1], g); |
| 5066 | ctl_len = 2; | 5069 | ctl_len = 2; |
| 5067 | } | 5070 | } |