diff options
| author | Kenichi Handa | 2012-07-17 07:09:08 +0900 |
|---|---|---|
| committer | Kenichi Handa | 2012-07-17 07:09:08 +0900 |
| commit | 8c536f15bf95916d56bb50495d22b7da7e09fff9 (patch) | |
| tree | ac6f8bf5103bdbd1d6a75f05def9bc7aa9e96547 /src/term.c | |
| parent | 21a8caaa4af24f258e6c7f80c1fc913b00aee044 (diff) | |
| parent | c05cf3902ae658cc8bf413124245c9e1cdcca2d7 (diff) | |
| download | emacs-8c536f15bf95916d56bb50495d22b7da7e09fff9.tar.gz emacs-8c536f15bf95916d56bb50495d22b7da7e09fff9.zip | |
merge trunk
Diffstat (limited to 'src/term.c')
| -rw-r--r-- | src/term.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/term.c b/src/term.c index ce300f9442a..3d7a677374c 100644 --- a/src/term.c +++ b/src/term.c | |||
| @@ -1915,8 +1915,7 @@ produce_special_glyphs (struct it *it, enum display_element_type what) | |||
| 1915 | else | 1915 | else |
| 1916 | SET_GLYPH_FROM_CHAR (glyph, '\\'); | 1916 | SET_GLYPH_FROM_CHAR (glyph, '\\'); |
| 1917 | if (it->dp | 1917 | if (it->dp |
| 1918 | && (gc = DISP_CONTINUE_GLYPH (it->dp), GLYPH_CODE_P (gc)) | 1918 | && (gc = DISP_CONTINUE_GLYPH (it->dp), GLYPH_CODE_P (gc))) |
| 1919 | && GLYPH_CODE_CHAR_VALID_P (gc)) | ||
| 1920 | { | 1919 | { |
| 1921 | /* FIXME: Should we mirror GC for R2L lines? */ | 1920 | /* FIXME: Should we mirror GC for R2L lines? */ |
| 1922 | SET_GLYPH_FROM_GLYPH_CODE (glyph, gc); | 1921 | SET_GLYPH_FROM_GLYPH_CODE (glyph, gc); |
| @@ -1928,8 +1927,7 @@ produce_special_glyphs (struct it *it, enum display_element_type what) | |||
| 1928 | /* Truncation glyph. */ | 1927 | /* Truncation glyph. */ |
| 1929 | SET_GLYPH_FROM_CHAR (glyph, '$'); | 1928 | SET_GLYPH_FROM_CHAR (glyph, '$'); |
| 1930 | if (it->dp | 1929 | if (it->dp |
| 1931 | && (gc = DISP_TRUNC_GLYPH (it->dp), GLYPH_CODE_P (gc)) | 1930 | && (gc = DISP_TRUNC_GLYPH (it->dp), GLYPH_CODE_P (gc))) |
| 1932 | && GLYPH_CODE_CHAR_VALID_P (gc)) | ||
| 1933 | { | 1931 | { |
| 1934 | /* FIXME: Should we mirror GC for R2L lines? */ | 1932 | /* FIXME: Should we mirror GC for R2L lines? */ |
| 1935 | SET_GLYPH_FROM_GLYPH_CODE (glyph, gc); | 1933 | SET_GLYPH_FROM_GLYPH_CODE (glyph, gc); |
| @@ -2279,7 +2277,7 @@ set_tty_color_mode (struct tty_display_info *tty, struct frame *f) | |||
| 2279 | else | 2277 | else |
| 2280 | color_mode = Qnil; | 2278 | color_mode = Qnil; |
| 2281 | 2279 | ||
| 2282 | mode = INTEGERP (color_mode) ? XINT (color_mode) : 0; | 2280 | mode = TYPE_RANGED_INTEGERP (int, color_mode) ? XINT (color_mode) : 0; |
| 2283 | 2281 | ||
| 2284 | if (mode != tty->previous_color_mode) | 2282 | if (mode != tty->previous_color_mode) |
| 2285 | { | 2283 | { |