2002-08-19 Kenichi Handa <handa@etl.go.jp>
+ * fontset.c (Fset_fontset_font): Treate `ascii' as charset, not
+ script.
+
* emacs.c (main): In the case of --unibyte, instead of aborting on
finding non-empty buffer, make it unibyte.
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))
{
= 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))