diff options
author | Ken Raeburn <raeburn@raeburn.org> | 2002-05-20 08:05:09 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@raeburn.org> | 2002-05-20 08:05:09 +0000 |
commit | e27415102ce205277939ca955f75879f1df7898b (patch) | |
tree | 4ebe8289dd9f09c25902a129a51518b23afea072 /src/charset.c | |
parent | 2f4453664409ed3f7131afc6113bcffb16f22750 (diff) | |
download | emacs-e27415102ce205277939ca955f75879f1df7898b.tar.gz |
* charset.c (Fdefine_charset, Fdeclare_equiv_charset): Use XSTRING
and SYMBOL_NAME instead of XSYMBOL and name field.
Diffstat (limited to 'src/charset.c')
-rw-r--r-- | src/charset.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/charset.c b/src/charset.c index 118d5fed9ba..4701db6ba66 100644 --- a/src/charset.c +++ b/src/charset.c @@ -700,14 +700,14 @@ DESCRIPTION (string) is the description string of the charset. */) || !STRINGP (vec[7]) || !STRINGP (vec[8])) error ("Invalid info-vector argument for defining charset %s", - XSYMBOL (charset_symbol)->name->data); + XSTRING (SYMBOL_NAME (charset_symbol))->data); if (NILP (charset_id)) { charset_id = get_new_private_charset_id (XINT (vec[0]), XINT (vec[2])); if (XINT (charset_id) == 0) error ("There's no room for a new private charset %s", - XSYMBOL (charset_symbol)->name->data); + XSTRING (SYMBOL_NAME (charset_symbol))->data); } update_charset_table (charset_id, vec[0], vec[1], vec[2], vec[3], @@ -779,7 +779,7 @@ CHARSET should be defined by `defined-charset' in advance. */) if (XINT (final_char) < '0' || XFASTINT (final_char) > '~') error ("Invalid FINAL-CHAR %c, it should be `0'..`~'", XINT (chars)); if ((charset = get_charset_id (charset_symbol)) < 0) - error ("Invalid charset %s", XSYMBOL (charset_symbol)->name->data); + error ("Invalid charset %s", XSTRING (SYMBOL_NAME (charset_symbol))->data); ISO_CHARSET_TABLE (dimension, chars, final_char) = charset; return Qnil; |