aboutsummaryrefslogtreecommitdiffstats
path: root/src/term.c
diff options
context:
space:
mode:
authorStefan Monnier2009-10-18 03:08:32 +0000
committerStefan Monnier2009-10-18 03:08:32 +0000
commit4c0354d71bb71c17af97ec956379603ccbb42a18 (patch)
tree8f3ebc4af4b125f170ea6c3461b945878cf3b07d /src/term.c
parente5f035d75ea1e81103dc58b50e3e8afa44fbc34e (diff)
downloademacs-4c0354d71bb71c17af97ec956379603ccbb42a18.tar.gz
emacs-4c0354d71bb71c17af97ec956379603ccbb42a18.zip
Remove leftover table unibyte_to_multibyte_table.
* character.c (unibyte_to_multibyte_table): Remove. (Funibyte_char_to_multibyte): Use MAKE_CHAR_MULTIBYTE. * charset.c (init_charset_once): Don't init unibyte_to_multibyte_table. * character.h (UNIBYTE_TO_CHAR): New macro. (MAKE_CHAR_MULTIBYTE): Use it. (unibyte_to_multibyte_table, unibyte_char_to_multibyte): Remove. * xdisp.c (get_next_display_element): USE ASCII_CHAR_P. (message_dolog, set_message_1): * search.c (Freplace_match): * editfns.c (Fcompare_buffer_substrings): * fns.c (Fcompare_strings): Use MAKE_CHAR_MULTIBYTE. (concat): * insdel.c (copy_text, count_size_as_multibyte): Use ASCII_CHAR_P and BYTE8_TO_CHAR. * term.c (produce_glyphs): * syntax.c (skip_chars): Use BYTE8_TO_CHAR. * regex.c (RE_CHAR_TO_MULTIBYTE): * cmds.c (internal_self_insert): * buffer.h (FETCH_CHAR_AS_MULTIBYTE): Use UNIBYTE_TO_CHAR.
Diffstat (limited to 'src/term.c')
-rw-r--r--src/term.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/term.c b/src/term.c
index d5855b4cbf6..9e18df3160e 100644
--- a/src/term.c
+++ b/src/term.c
@@ -1650,7 +1650,7 @@ produce_glyphs (it)
1650 if (unibyte_display_via_language_environment 1650 if (unibyte_display_via_language_environment
1651 && (it->c >= 0240)) 1651 && (it->c >= 0240))
1652 { 1652 {
1653 it->char_to_display = unibyte_char_to_multibyte (it->c); 1653 it->char_to_display = BYTE8_TO_CHAR (it->c);
1654 it->pixel_width = CHAR_WIDTH (it->char_to_display); 1654 it->pixel_width = CHAR_WIDTH (it->char_to_display);
1655 it->nglyphs = it->pixel_width; 1655 it->nglyphs = it->pixel_width;
1656 if (it->glyph_row) 1656 if (it->glyph_row)