Commit f6620ee2 authored by Ken Raeburn's avatar Ken Raeburn

* editfns.c (Fformat): Use SYMBOL_NAME and XSTRING instead of

XSYMBOL and name field.
parent 84023177
......@@ -3213,7 +3213,7 @@ usage: (format STRING &rest OBJECTS) */)
{
/* Use a temp var to avoid problems when ENABLE_CHECKING
is turned on. */
struct Lisp_String *t = XSYMBOL (args[n])->name;
struct Lisp_String *t = XSTRING (SYMBOL_NAME (args[n]));
XSETSTRING (args[n], t);
if (STRING_MULTIBYTE (args[n]) && ! multibyte)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment