aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/minibuf.c4
1 files 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. */)
975 if (NILP (default_value)) 975 if (NILP (default_value))
976 default_string = Qnil; 976 default_string = Qnil;
977 else if (SYMBOLP (default_value)) 977 else if (SYMBOLP (default_value))
978 XSETSTRING (default_string, XSYMBOL (default_value)->name); 978 default_string = SYMBOL_NAME (default_value);
979 else 979 else
980 default_string = default_value; 980 default_string = default_value;
981 981
@@ -1010,7 +1010,7 @@ A user variable is one whose documentation starts with a `*' character. */)
1010 if (NILP (default_value)) 1010 if (NILP (default_value))
1011 default_string = Qnil; 1011 default_string = Qnil;
1012 else if (SYMBOLP (default_value)) 1012 else if (SYMBOLP (default_value))
1013 XSETSTRING (default_string, XSYMBOL (default_value)->name); 1013 default_string = SYMBOL_NAME (default_value);
1014 else 1014 else
1015 default_string = default_value; 1015 default_string = default_value;
1016 1016