(print_object): Set escapeflag to 1 when printing
authorTeodor Zlatanov <tzz@lifelogs.com>
Fri, 28 Aug 2009 10:16:03 +0000 (10:16 +0000)
committerTeodor Zlatanov <tzz@lifelogs.com>
Fri, 28 Aug 2009 10:16:03 +0000 (10:16 +0000)
hashtable keys and values.

src/ChangeLog
src/print.c

index 6212c40..459b5e2 100644 (file)
@@ -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
index 4a990f1..7f52624 100644 (file)
@@ -2100,9 +2100,9 @@ print_object (obj, printcharfun, escapeflag)
            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)