From caa4733e19c3adbd25e864050862806c37719cfd Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Mon, 20 May 2002 08:06:21 +0000 Subject: [PATCH] * minibuf.c (Fread_command, Fread_variable): Use SYMBOL_NAME and assignment instead of XSYMBOL and name field and XSETSTRING. --- src/minibuf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/minibuf.c b/src/minibuf.c index 388c912292c..3c7a18d6170 100644 --- a/src/minibuf.c +++ b/src/minibuf.c @@ -975,7 +975,7 @@ Prompt with PROMPT. By default, return DEFAULT-VALUE. */) 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 @@ A user variable is one whose documentation starts with a `*' character. */) 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; -- 2.39.5