From: Teodor Zlatanov Date: Fri, 28 Aug 2009 10:16:03 +0000 (+0000) Subject: (print_object): Set escapeflag to 1 when printing X-Git-Tag: emacs-pretest-23.1.90~1632 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3ed8bbdc5f73fe527fdd18bbb1b5c75d28a7d895;p=emacs.git (print_object): Set escapeflag to 1 when printing hashtable keys and values. --- diff --git a/src/ChangeLog b/src/ChangeLog index 6212c4039ad..459b5e284f2 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2009-08-28 Teodor Zlatanov + + * print.c (print_object): Set escapeflag to 1 when printing + hashtable keys and values. + 2009-08-27 Stefan Monnier * lread.c (read_integer): Use doubles (and potentially return a float diff --git a/src/print.c b/src/print.c index 4a990f1cabb..7f526243346 100644 --- a/src/print.c +++ b/src/print.c @@ -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)