changeset 46447:8e01c92219ab

(Fstring_to_char): Don't use XSTRING/XSETSTRING to copy a lisp value.
author Ken Raeburn <raeburn@raeburn.org>
date Tue, 16 Jul 2002 17:35:50 +0000
parents 34f82dbd015b
children 218b99308569
files src/editfns.c
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/editfns.c	Tue Jul 16 17:34:35 2002 +0000
+++ b/src/editfns.c	Tue Jul 16 17:35:50 2002 +0000
@@ -3208,10 +3208,7 @@
 	  }
 	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;