X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=base-class.lisp;h=47085cc9a38adee1355a93f3166fd9d83086adcf;hb=9c2f8b27c22414ff15dd91644915e692d83fc6b7;hp=1e3c5dff4ff1fc0bc3e1ce7c0897a78795a49e90;hpb=84f9a22269a37d2d58bdb0f6211f8757855c18ab;p=hyperobject.git diff --git a/base-class.lisp b/base-class.lisp index 1e3c5df..47085cc 100644 --- a/base-class.lisp +++ b/base-class.lisp @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Apr 2000 ;;;; -;;;; $Id: base-class.lisp,v 1.2 2002/12/02 15:57:17 kevin Exp $ +;;;; $Id: base-class.lisp,v 1.5 2003/05/13 15:53:21 kevin Exp $ ;;;; ;;;; This file is Copyright (c) 2000-2002 by Kevin M. Rosenberg ;;;; ************************************************************************* @@ -22,12 +22,10 @@ (:metaclass hyperobject-class) (:description "Basic hyperobject class")) - (defmethod print-object ((obj hyperobject) (s stream)) (print-unreadable-object (obj s :type t :identity t) - (let ((fmt (make-instance 'hyperobject::textformat))) - (apply #'format - s (funcall (obj-data-fmtstr fmt) obj) - (multiple-value-list - (funcall (funcall (obj-data-value-func fmt) obj) obj)))))) + (let ((view (get-category-view obj :compact-text))) + + (multiple-value-call #'format s (obj-data-fmtstr view) + (funcall (obj-data-value-func view) obj)))))