changeset 20523:376e39d748b9

(Fread_command, Fread_variable): Fix previous change.
author Richard M. Stallman <rms@gnu.org>
date Sat, 27 Dec 1997 08:16:00 +0000
parents 4409f95651d1
children 07dc8bbcb2c8
files src/minibuf.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/minibuf.c	Fri Dec 26 22:51:41 1997 +0000
+++ b/src/minibuf.c	Sat Dec 27 08:16:00 1997 +0000
@@ -761,7 +761,7 @@
   if (NILP (default_value))
     default_string = Qnil;
   else if (SYMBOLP (default_value))
-    default_string = XSYMBOL (default_value)->name;
+    XSETSTRING (default_string, XSYMBOL (default_value)->name);
   else
     default_string = default_value;
     
@@ -796,7 +796,7 @@
   if (NILP (default_value))
     default_string = Qnil;
   else if (SYMBOLP (default_value))
-    default_string = XSYMBOL (default_value)->name;
+    XSETSTRING (default_string, XSYMBOL (default_value)->name);
   else
     default_string = default_value;