Mercurial > emacs
changeset 89006:faa38aebf129
(Fset_fontset_font): Treate `ascii' as charset, not script.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Mon, 19 Aug 2002 10:56:54 +0000 |
parents | 7c7b866077e9 |
children | e3aa7505b685 |
files | src/fontset.c |
diffstat | 1 files changed, 7 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/src/fontset.c Mon Aug 19 06:12:43 2002 +0000 +++ b/src/fontset.c Mon Aug 19 10:56:54 2002 +0000 @@ -1265,13 +1265,6 @@ map_char_table (accumulate_script_ranges, Qnil, Vchar_script_table, val, 0, NULL); range_list = XCDR (val); - if (EQ (character, Qascii)) - { - if (! STRINGP (font_spec)) - font_spec = generate_ascii_font_name (FONTSET_NAME (fontset), - font_spec); - FONTSET_ASCII (fontset) = font_spec; - } } else if (CHARSETP (character)) { @@ -1283,6 +1276,13 @@ = Fcons (Fcons (make_number (CHARSET_MIN_CHAR (charset)), make_number (CHARSET_MAX_CHAR (charset))), range_list); + if (EQ (character, Qascii)) + { + if (! STRINGP (font_spec)) + font_spec = generate_ascii_font_name (FONTSET_NAME (fontset), + font_spec); + FONTSET_ASCII (fontset) = font_spec; + } } if (NILP (range_list))