From 6dd05c14f27697dee875da38af03a950665998c2 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 27 Dec 1997 08:16:00 +0000 Subject: [PATCH] (Fread_command, Fread_variable): Fix previous change. --- src/minibuf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/minibuf.c b/src/minibuf.c index 7de73d069e2..c08e2d3754b 100644 --- a/src/minibuf.c +++ b/src/minibuf.c @@ -761,7 +761,7 @@ Prompts with PROMPT. By default, return DEFAULT-VALUE.") 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 @@ A user variable is one whose documentation starts with a `*' character.") 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; -- 2.39.2