summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Benkard <code@mail.matthias.benkard.de>2007-08-03 22:01:32 +0200
committerMatthias Benkard <code@mail.matthias.benkard.de>2007-08-03 22:01:32 +0200
commitd785d3cd4cbca64fcd840e078540c7c2203445b9 (patch)
tree4aa0e1177e5eb0d549c7aa9527566d64b5127c5b
parentdbc13eadd5c4885e8d2fa13858c748f09273ce41 (diff)
Further improve PRINT-OBJECT output.
darcs-hash:a665c03ddf1a03161b3aef04f3199bd82df92aea
-rw-r--r--objcl.lisp5
1 files changed, 4 insertions, 1 deletions
diff --git a/objcl.lisp b/objcl.lisp
index f2af9e9..ee8446e 100644
--- a/objcl.lisp
+++ b/objcl.lisp
@@ -344,9 +344,12 @@
(defmethod print-object ((object objc-id) stream)
(print-unreadable-object (object stream)
- (format stream "~A {~X}"
+ (format stream "~A `~A' {~X}"
(objcl-class-name
(objcl-invoke-class-method object "class"))
+ (objcl-invoke-class-method
+ (objcl-invoke-class-method object "description")
+ "UTF8String")
(objcl-invoke-class-method object "hash"))))