aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeodor Zlatanov2009-08-28 10:16:03 +0000
committerTeodor Zlatanov2009-08-28 10:16:03 +0000
commit3ed8bbdc5f73fe527fdd18bbb1b5c75d28a7d895 (patch)
tree1556e03fdb2e62d94b678cc9df25a9ea717e29c4
parent63494d1b9d7160b57231d737c24c1d0da0f8efbe (diff)
downloademacs-3ed8bbdc5f73fe527fdd18bbb1b5c75d28a7d895.tar.gz
emacs-3ed8bbdc5f73fe527fdd18bbb1b5c75d28a7d895.zip
(print_object): Set escapeflag to 1 when printing
hashtable keys and values.
-rw-r--r--src/ChangeLog5
-rw-r--r--src/print.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 6212c4039ad..459b5e284f2 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12009-08-28 Teodor Zlatanov <tzz@lifelogs.com>
2
3 * print.c (print_object): Set escapeflag to 1 when printing
4 hashtable keys and values.
5
12009-08-27 Stefan Monnier <monnier@iro.umontreal.ca> 62009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
2 7
3 * lread.c (read_integer): Use doubles (and potentially return a float 8 * 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)
2100 if (!NILP (HASH_HASH (h, i))) 2100 if (!NILP (HASH_HASH (h, i)))
2101 { 2101 {
2102 if (i) PRINTCHAR (' '); 2102 if (i) PRINTCHAR (' ');
2103 print_object (HASH_KEY (h, i), printcharfun, 0); 2103 print_object (HASH_KEY (h, i), printcharfun, 1);
2104 PRINTCHAR (' '); 2104 PRINTCHAR (' ');
2105 print_object (HASH_VALUE (h, i), printcharfun, 0); 2105 print_object (HASH_VALUE (h, i), printcharfun, 1);
2106 } 2106 }
2107 2107
2108 if (size < real_size) 2108 if (size < real_size)