]> code.delx.au - gnu-emacs/commitdiff
* editfns.c (Fformat): Use SYMBOL_NAME and XSTRING instead of
authorKen Raeburn <raeburn@raeburn.org>
Mon, 20 May 2002 08:05:26 +0000 (08:05 +0000)
committerKen Raeburn <raeburn@raeburn.org>
Mon, 20 May 2002 08:05:26 +0000 (08:05 +0000)
XSYMBOL and name field.

src/editfns.c

index 86129c63698906eb6940283e772512ba5d813ae4..a2e2aaf269e3e468289b9876bfb9a17ed452296c 100644 (file)
@@ -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)
              {