diff options
Diffstat (limited to 'src/minibuf.c')
-rw-r--r-- | src/minibuf.c | 4 |
1 files 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; |