changeset 45398:1a623890a487

* editfns.c (Fformat): Use SYMBOL_NAME and XSTRING instead of XSYMBOL and name field.
author Ken Raeburn <raeburn@raeburn.org>
date Mon, 20 May 2002 08:05:26 +0000
parents bc5d63652a0a
children 32cb1788d9cd
files src/editfns.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/editfns.c	Mon May 20 08:05:21 2002 +0000
+++ b/src/editfns.c	Mon May 20 08:05:26 2002 +0000
@@ -3213,7 +3213,7 @@
 	  {
 	    /* 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)
 	      {