changeset 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 9a2d92bd2a3e
children 887871b8a8ae
files src/ChangeLog src/print.c
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Fri Aug 28 09:50:05 2009 +0000
+++ b/src/ChangeLog	Fri Aug 28 10:16:03 2009 +0000
@@ -1,3 +1,8 @@
+2009-08-28  Teodor Zlatanov  <tzz@lifelogs.com>
+
+	* print.c (print_object): Set escapeflag to 1 when printing
+	hashtable keys and values.
+
 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
 
 	* lread.c (read_integer): Use doubles (and potentially return a float
--- 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)