diff src/print.c @ 104670:edac206a6fe7

(print_object): Set escapeflag to 1 when printing hashtable keys and values.
author Teodor Zlatanov <tzz@lifelogs.com>
date Fri, 28 Aug 2009 10:16:03 +0000
parents a443b35b34e0
children 2eb955b84b6b
line wrap: on
line diff
--- a/src/print.c	Fri Aug 28 09:50:05 2009 +0000
+++ b/src/print.c	Fri Aug 28 10:16:03 2009 +0000
@@ -2100,9 +2100,9 @@
 	    if (!NILP (HASH_HASH (h, i)))
 	      {
 		if (i) PRINTCHAR (' ');
-		print_object (HASH_KEY (h, i), printcharfun, 0);
+		print_object (HASH_KEY (h, i), printcharfun, 1);
 		PRINTCHAR (' ');
-		print_object (HASH_VALUE (h, i), printcharfun, 0);
+		print_object (HASH_VALUE (h, i), printcharfun, 1);
 	      }
 
 	  if (size < real_size)