aboutsummaryrefslogtreecommitdiffstats
path: root/src/print.c
diff options
context:
space:
mode:
authorJoakim Verona2012-11-13 03:01:33 +0100
committerJoakim Verona2012-11-13 03:01:33 +0100
commit74fa27af7f4b50a6f5e2a378802b4c5edc11d044 (patch)
tree7030d55ecc2e06df59c08047b6f89e5b11a329dc /src/print.c
parent2a4942ed0e4cca22145a0d973112454c410c3dd7 (diff)
parentb95a9c0cba301ef8f1920a1d123ccd6873c14a63 (diff)
downloademacs-74fa27af7f4b50a6f5e2a378802b4c5edc11d044.tar.gz
emacs-74fa27af7f4b50a6f5e2a378802b4c5edc11d044.zip
upstream
Diffstat (limited to 'src/print.c')
-rw-r--r--src/print.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/print.c b/src/print.c
index 22ed47bf65f..0788d110784 100644
--- a/src/print.c
+++ b/src/print.c
@@ -800,7 +800,7 @@ safe_debug_print (Lisp_Object arg)
800 else 800 else
801 fprintf (stderr, "#<%s_LISP_OBJECT 0x%08"pI"x>\r\n", 801 fprintf (stderr, "#<%s_LISP_OBJECT 0x%08"pI"x>\r\n",
802 !valid ? "INVALID" : "SOME", 802 !valid ? "INVALID" : "SOME",
803 XHASH (arg)); 803 XLI (arg));
804} 804}
805 805
806 806
@@ -1824,14 +1824,14 @@ print_object (Lisp_Object obj, register Lisp_Object printcharfun, int escapeflag
1824#endif 1824#endif
1825 /* Implement a readable output, e.g.: 1825 /* Implement a readable output, e.g.:
1826 #s(hash-table size 2 test equal data (k1 v1 k2 v2)) */ 1826 #s(hash-table size 2 test equal data (k1 v1 k2 v2)) */
1827 /* Always print the size. */ 1827 /* Always print the size. */
1828 len = sprintf (buf, "#s(hash-table size %"pD"d", ASIZE (h->next)); 1828 len = sprintf (buf, "#s(hash-table size %"pD"d", ASIZE (h->next));
1829 strout (buf, len, len, printcharfun); 1829 strout (buf, len, len, printcharfun);
1830 1830
1831 if (!NILP (h->test)) 1831 if (!NILP (h->test.name))
1832 { 1832 {
1833 strout (" test ", -1, -1, printcharfun); 1833 strout (" test ", -1, -1, printcharfun);
1834 print_object (h->test, printcharfun, escapeflag); 1834 print_object (h->test.name, printcharfun, escapeflag);
1835 } 1835 }
1836 1836
1837 if (!NILP (h->weak)) 1837 if (!NILP (h->weak))