2002-05-25 Dave Love <fx@gnu.org>
+ * charset.c (Fdefine_charset_alias): Update Vcharset_list.
+
* fontset.c (Ffontset_info): Doc fix. Return charset names, not
ids.
(font-encoding-alist): Doc fix.
return Qnil;
}
-
+/* Fixme: Should this record the alias relationships for diagnostics? */
DEFUN ("define-charset-alias", Fdefine_charset_alias,
Sdefine_charset_alias, 2, 2, 0,
doc: /* Define ALIAS as an alias for charset CHARSET. */)
CHECK_CHARSET_GET_ATTR (charset, attr);
Fputhash (alias, attr, Vcharset_hash_table);
+ /* Fixme: should the ordered list be updated too? */
+ Vcharset_list = Fcons (alias, Vcharset_list);
return Qnil;
}
Vdata_directory);
DEFVAR_LISP ("charset-list", &Vcharset_list,
- doc: /* List of charsets ever defined. */);
+ doc: /* List of all charsets ever defined. */);
Vcharset_list = Qnil;
/* Make the prerequisite charset `ascii' and `unicode'. */