From f6620ee2b00b7c6210517b8ddcb60a2f6e038c5b Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Mon, 20 May 2002 08:05:26 +0000 Subject: [PATCH] * editfns.c (Fformat): Use SYMBOL_NAME and XSTRING instead of XSYMBOL and name field. --- src/editfns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/editfns.c b/src/editfns.c index 86129c63698..a2e2aaf269e 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -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) { -- 2.39.5