r4958: Auto commit for Debian build
[hyperobject.git] / base-class.lisp
index 47085cc9a38adee1355a93f3166fd9d83086adcf..93eed698c6befd4686fd2591f98f4be37db44be8 100644 (file)
@@ -7,9 +7,9 @@
 ;;;; Programmer:    Kevin M. Rosenberg
 ;;;; Date Started:  Apr 2000
 ;;;;
-;;;; $Id: base-class.lisp,v 1.5 2003/05/13 15:53:21 kevin Exp $
+;;;; $Id: base-class.lisp,v 1.8 2003/05/14 08:30:38 kevin Exp $
 ;;;;
-;;;; This file is Copyright (c) 2000-2002 by Kevin M. Rosenberg
+;;;; This file is Copyright (c) 2000-2003 by Kevin M. Rosenberg
 ;;;; *************************************************************************
 
 (in-package :hyperobject)
@@ -23,9 +23,6 @@
   (:description "Basic hyperobject class"))
 
 (defmethod print-object ((obj hyperobject) (s stream))
-  (print-unreadable-object (obj s :type t :identity t)
-    (let ((view (get-category-view obj :compact-text)))
-
-      (multiple-value-call #'format s (obj-data-fmtstr view)
-                          (funcall (obj-data-value-func view) obj)))))
+  (print-unreadable-object (obj s :type t :identity nil)
+    (funcall (obj-data-func (get-category-view obj :compact-text)) obj s nil)))