r4926: Auto commit for Debian build
[hyperobject.git] / base-class.lisp
index 0da829b3d209a27fb0dffeac4ccd016b080efc52..4251cf1e88bdc2f087da3601b357d304ad196307 100644 (file)
@@ -7,9 +7,9 @@
 ;;;; Programmer:    Kevin M. Rosenberg
 ;;;; Date Started:  Apr 2000
 ;;;;
-;;;; $Id: base-class.lisp,v 1.3 2002/12/13 05:44:19 kevin Exp $
+;;;; $Id: base-class.lisp,v 1.7 2003/05/14 05:29:48 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)
@@ -24,8 +24,5 @@
 
 (defmethod print-object ((obj hyperobject) (s stream))
   (print-unreadable-object (obj s :type t :identity t)
-    (let ((view (get-category-view obj :compact-text)))
-      (apply #'format s (slot-value view 'obj-data-fmtstr)
-            (multiple-value-list 
-             (funcall (slot-value view 'obj-data-value-func) obj))))))
+    (funcall (obj-data-func (get-category-view obj :compact-text)) obj s nil)))