Commit 1e5d9116 authored by Ken Raeburn's avatar Ken Raeburn
Browse files

(Fstring_to_char): Don't use XSTRING/XSETSTRING to copy a lisp value.

parent c2d47f4b
......@@ -3208,10 +3208,7 @@ usage: (format STRING &rest OBJECTS) */)
}
else if (SYMBOLP (args[n]))
{
/* Use a temp var to avoid problems when ENABLE_CHECKING
is turned on. */
struct Lisp_String *t = XSTRING (SYMBOL_NAME (args[n]));
XSETSTRING (args[n], t);
args[n] = SYMBOL_NAME (args[n]);
if (STRING_MULTIBYTE (args[n]) && ! multibyte)
{
multibyte = 1;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment