error ((modifiers & ~meta_modifier
? "To bind the key %s, use [?%s], not [%s]"
: "To bind the key %s, use \"%s\", not [%s]"),
- XSYMBOL (c)->name->data, XSTRING (keystring)->data,
- XSYMBOL (c)->name->data);
+ XSTRING (SYMBOL_NAME (c))->data, XSTRING (keystring)->data,
+ XSTRING (SYMBOL_NAME (c))->data);
}
}
\f
if (NILP (no_angles))
{
char *buffer
- = (char *) alloca (STRING_BYTES (XSYMBOL (key)->name) + 5);
- sprintf (buffer, "<%s>", XSYMBOL (key)->name->data);
+ = (char *) alloca (STRING_BYTES (XSTRING (SYMBOL_NAME (key))) + 5);
+ sprintf (buffer, "<%s>", XSTRING (SYMBOL_NAME (key))->data);
return build_string (buffer);
}
else
if (!SYMBOLP (modes[i]))
abort();
- p = title = (char *) alloca (42 + XSYMBOL (modes[i])->name->size);
+ p = title = (char *) alloca (42 + XSTRING (SYMBOL_NAME (modes[i]))->size);
*p++ = '\f';
*p++ = '\n';
*p++ = '`';
- bcopy (XSYMBOL (modes[i])->name->data, p,
- XSYMBOL (modes[i])->name->size);
- p += XSYMBOL (modes[i])->name->size;
+ bcopy (XSTRING (SYMBOL_NAME (modes[i]))->data, p,
+ XSTRING (SYMBOL_NAME (modes[i]))->size);
+ p += XSTRING (SYMBOL_NAME (modes[i]))->size;
*p++ = '\'';
bcopy (" Minor Mode Bindings", p, sizeof (" Minor Mode Bindings") - 1);
p += sizeof (" Minor Mode Bindings") - 1;
if (SYMBOLP (definition))
{
- XSETSTRING (tem1, XSYMBOL (definition)->name);
+ tem1 = SYMBOL_NAME (definition);
insert1 (tem1);
insert_string ("\n");
}
if (SYMBOLP (definition))
{
- XSETSTRING (tem1, XSYMBOL (definition)->name);
+ tem1 = SYMBOL_NAME (definition);
insert1 (tem1);
insert_string ("\n");
}