changeset 45408:3e68a6534915

* minibuf.c (Fread_command, Fread_variable): Use SYMBOL_NAME and assignment instead of XSYMBOL and name field and XSETSTRING.
author Ken Raeburn <raeburn@raeburn.org>
date Mon, 20 May 2002 08:06:21 +0000
parents d68629e2728d
children f8a600a483ff
files src/minibuf.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/minibuf.c	Mon May 20 08:06:16 2002 +0000
+++ b/src/minibuf.c	Mon May 20 08:06:21 2002 +0000
@@ -975,7 +975,7 @@
   if (NILP (default_value))
     default_string = Qnil;
   else if (SYMBOLP (default_value))
-    XSETSTRING (default_string, XSYMBOL (default_value)->name);
+    default_string = SYMBOL_NAME (default_value);
   else
     default_string = default_value;
     
@@ -1010,7 +1010,7 @@
   if (NILP (default_value))
     default_string = Qnil;
   else if (SYMBOLP (default_value))
-    XSETSTRING (default_string, XSYMBOL (default_value)->name);
+    default_string = SYMBOL_NAME (default_value);
   else
     default_string = default_value;